SeExprVarRef Class Reference

abstract class for implementing variable references More...

#include <SeExpression.h>

Inheritance diagram for SeExprVarRef:
SeExprLocalVarRef SeExprScalarVarRef SeExprVectorVarRef SeExprEdExpression::ScalarRef SeExprEdExpression::VectorRef

List of all members.

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

Detailed Description

abstract class for implementing variable references

Definition at line 27 of file SeExpression.h.


Constructor & Destructor Documentation

virtual SeExprVarRef::~SeExprVarRef (  )  [inline, virtual]

Definition at line 30 of file SeExpression.h.


Member Function Documentation

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().


The documentation for this class was generated from the following file:

Generated on 25 Jul 2013 for SeExpr by  doxygen 1.6.1