#include <exprIVar.hpp>
Inheritance diagram for exprIVar:
Public Member Functions | |
exprIVar (int varIndex, Domain *d=NULL) | |
Constructor. | |
exprIVar (const exprIVar &e, Domain *d=NULL) | |
Copy constructor -- must go. | |
virtual exprVar * | clone (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? |
All variables of the expression must be objects of this class
Definition at line 24 of file exprIVar.hpp.
exprIVar::exprIVar | ( | int | varIndex, | |
Domain * | d = NULL | |||
) | [inline] |
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] |