exprIVar Class Reference

variable-type operator. More...

#include <exprIVar.hpp>

Inheritance diagram for exprIVar:

Inheritance graph
[legend]
Collaboration diagram for exprIVar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprIVar (int varIndex, Domain *d=NULL)
 Constructor.
 exprIVar (const exprIVar &e, Domain *d=NULL)
 Copy constructor -- must go.
virtual exprVarclone (Domain *d=NULL) const
 Cloning method.
virtual void print (std::ostream &out=std::cout, bool=false) const
 Print.
virtual bool isDefinedInteger ()
 is this expression defined as an integer?
virtual bool isInteger ()
 Is this expression integer?

Detailed Description

variable-type operator.

All variables of the expression must be objects of this class

Definition at line 24 of file exprIVar.hpp.


Constructor & Destructor Documentation

exprIVar::exprIVar ( int  varIndex,
Domain d = NULL 
) [inline]

Constructor.

Definition at line 29 of file exprIVar.hpp.

Referenced by clone().

exprIVar::exprIVar ( const exprIVar e,
Domain d = NULL 
) [inline]

Copy constructor -- must go.

Definition at line 33 of file exprIVar.hpp.


Member Function Documentation

virtual exprVar* exprIVar::clone ( Domain d = NULL  )  const [inline, virtual]

Cloning method.

Reimplemented from exprVar.

Definition at line 37 of file exprIVar.hpp.

References exprIVar().

virtual void exprIVar::print ( std::ostream &  out = std::cout,
bool  = false 
) const [inline, virtual]

Print.

Reimplemented from exprVar.

Definition at line 41 of file exprIVar.hpp.

References exprVar::varIndex_.

virtual bool exprIVar::isDefinedInteger (  )  [inline, virtual]

is this expression defined as an integer?

Reimplemented from exprVar.

Definition at line 45 of file exprIVar.hpp.

virtual bool exprIVar::isInteger (  )  [inline, virtual]

Is this expression integer?

Reimplemented from exprVar.

Definition at line 49 of file exprIVar.hpp.


The documentation for this class was generated from the following file:
Generated on Mon May 3 03:12:04 2010 by  doxygen 1.4.7