KSeExpr
4.0.4.0
|
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 36 of file Expression.h.
|
inlineprivate |
Definition at line 37 of file Expression.h.
|
inline |
Definition at line 40 of file Expression.h.
|
inlinevirtual |
Definition at line 42 of file Expression.h.
|
pure virtual |
|
pure virtual |
returns this variable's value by setting result
Implemented in BasicExpression::VectorRef, BasicExpression::ScalarRef, KSeExpr::GlobalFP, KSeExpr::VarBlockCreator::Ref, and KSeExpr::GlobalStr.
|
inlinevirtual |
sets (current) type to given type
Definition at line 45 of file Expression.h.
|
inlinevirtual |
returns (current) type
Definition at line 50 of file Expression.h.
References _type.
Referenced by KSeExpr::ExprVarNode::buildInterpreter(), KSeExpr::GlobalFP::eval(), KSeExpr::GlobalFP::isVec(), KSeExpr::ExprVarNode::prep(), and setType().
|
private |
Definition at line 59 of file Expression.h.