abstract class for implementing variable references More...
#include <SeExpression.h>
Public Member Functions | |
virtual | ~SeExprVarRef () |
virtual bool | isVec ()=0 |
returns true for a vector type, false for a scalar type | |
virtual void | eval (const SeExprVarNode *node, SeVec3d &result)=0 |
abstract class for implementing variable references
Definition at line 27 of file SeExpression.h.
virtual SeExprVarRef::~SeExprVarRef | ( | ) | [inline, virtual] |
Definition at line 30 of file SeExpression.h.
virtual void SeExprVarRef::eval | ( | const SeExprVarNode * | node, | |
SeVec3d & | result | |||
) | [pure virtual] |
returns this variable's value by setting result, node refers to where in the parse tree the evaluation is occurring
Implemented in SeExprLocalVarRef, SeExprEdExpression::ScalarRef, and SeExprEdExpression::VectorRef.
Referenced by SeExprVarNode::eval().
virtual bool SeExprVarRef::isVec | ( | ) | [pure virtual] |
returns true for a vector type, false for a scalar type
Implemented in SeExprVectorVarRef, SeExprScalarVarRef, and SeExprLocalVarRef.
Referenced by SeExprVarNode::prep().