uses internally to represent local variables More...
#include <SeExpression.h>
Public Member Functions | |
SeExprLocalVarRef () | |
void | setIsVec () |
virtual void | eval (const SeExprVarNode *, SeVec3d &result) |
virtual bool | isVec () |
returns true for a vector type, false for a scalar type | |
Public Attributes | |
SeVec3d | val |
Private Attributes | |
bool | _isVec |
uses internally to represent local variables
Definition at line 56 of file SeExpression.h.
SeExprLocalVarRef::SeExprLocalVarRef | ( | ) | [inline] |
Definition at line 60 of file SeExpression.h.
virtual void SeExprLocalVarRef::eval | ( | const SeExprVarNode * | node, | |
SeVec3d & | result | |||
) | [inline, virtual] |
returns this variable's value by setting result, node refers to where in the parse tree the evaluation is occurring
Implements SeExprVarRef.
Definition at line 62 of file SeExpression.h.
References val.
virtual bool SeExprLocalVarRef::isVec | ( | ) | [inline, virtual] |
returns true for a vector type, false for a scalar type
Implements SeExprVarRef.
Definition at line 64 of file SeExpression.h.
References _isVec.
Referenced by SeExprAssignNode::eval().
void SeExprLocalVarRef::setIsVec | ( | ) | [inline] |
Definition at line 61 of file SeExpression.h.
References _isVec.
Referenced by SeExprAssignNode::prep().
bool SeExprLocalVarRef::_isVec [private] |
Definition at line 66 of file SeExpression.h.
Referenced by isVec(), and setIsVec().
Definition at line 59 of file SeExpression.h.
Referenced by SeExprAssignNode::eval(), and eval().