SeExpr
|
abstract class for implementing variable references More...
#include <Expression.h>
Public Member Functions | |
ExprVarRef (const ExprType &type) | |
virtual | ~ExprVarRef () |
virtual void | setType (const ExprType &type) |
sets (current) type to given type More... | |
virtual ExprType | type () const |
returns (current) type More... | |
virtual void | eval (double *result)=0 |
returns this variable's value by setting result More... | |
virtual void | eval (const char **resultStr)=0 |
Private Member Functions | |
ExprVarRef () | |
Private Attributes | |
ExprType | _type |
abstract class for implementing variable references
Definition at line 45 of file Expression.h.
|
inlineprivate |
Definition at line 46 of file Expression.h.
|
inline |
Definition at line 49 of file Expression.h.
|
inlinevirtual |
Definition at line 51 of file Expression.h.
|
pure virtual |
returns this variable's value by setting result
Implemented in SeExpr2::VarBlockCreator::Ref, SeExpr2::GlobalStr, BasicExpression::VectorRef, BasicExpression::ScalarRef, and SeExpr2::GlobalFP.
|
pure virtual |
|
inlinevirtual |
sets (current) type to given type
Definition at line 54 of file Expression.h.
|
inlinevirtual |
returns (current) type
Definition at line 59 of file Expression.h.
References _type.
Referenced by SeExpr2::ExprVarNode::buildInterpreter(), SeExpr2::GlobalFP::eval(), SeExpr2::GlobalFP::isVec(), SeExpr2::ExprVarNode::prep(), and setType().
|
private |
Definition at line 68 of file Expression.h.