Node that compute a local variable assignment. More...
#include <SeExprNode.h>
Public Member Functions | |
| SeExprAssignNode (const SeExpression *expr, const char *name, SeExprNode *e) | |
| virtual bool | prep (bool wantVec) |
| virtual void | eval (SeVec3d &result) const |
| Evaluation method. Note: v[1] and v[2] are undefined if !isVec. | |
Private Attributes | |
| const char * | _name |
| SeExprLocalVarRef * | _var |
Node that compute a local variable assignment.
Definition at line 114 of file SeExprNode.h.
| SeExprAssignNode::SeExprAssignNode | ( | const SeExpression * | expr, | |
| const char * | name, | |||
| SeExprNode * | e | |||
| ) | [inline] |
Definition at line 117 of file SeExprNode.h.
| void SeExprAssignNode::eval | ( | SeVec3d & | v | ) | const [virtual] |
Evaluation method. Note: v[1] and v[2] are undefined if !isVec.
Reimplemented from SeExprNode.
Definition at line 215 of file SeExprNode.cpp.
References _var, SeExprNode::child(), SeExprNode::eval(), SeExprNode::isVec(), SeExprLocalVarRef::isVec(), and SeExprLocalVarRef::val.
| bool SeExprAssignNode::prep | ( | bool | wantVec | ) | [virtual] |
Prepare the node (for parser use only). See the discussion at the start of SeExprNode.cpp for more info.
Reimplemented from SeExprNode.
Definition at line 201 of file SeExprNode.cpp.
References SeExprNode::_expr, SeExprNode::_isVec, _name, _var, SeExprNode::child(), SeExpression::getLocalVar(), SeExprNode::isVec(), and SeExprLocalVarRef::setIsVec().
const char* SeExprAssignNode::_name [private] |
Definition at line 124 of file SeExprNode.h.
Referenced by prep().
SeExprLocalVarRef* SeExprAssignNode::_var [private] |
Definition at line 125 of file SeExprNode.h.
1.6.1