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