SeExprIfThenElseNode Class Reference

Node that computes local variables before evaluating expression. More...

#include <SeExprNode.h>

Inheritance diagram for SeExprIfThenElseNode:
SeExprNode

List of all members.

Public Member Functions

 SeExprIfThenElseNode (const SeExpression *expr, SeExprNode *a, SeExprNode *b, SeExprNode *c)
virtual bool prep (bool wantVec)
virtual void eval (SeVec3d &result) const
 Evaluation method. Note: v[1] and v[2] are undefined if !isVec.

Detailed Description

Node that computes local variables before evaluating expression.

Definition at line 101 of file SeExprNode.h.


Constructor & Destructor Documentation

SeExprIfThenElseNode::SeExprIfThenElseNode ( const SeExpression expr,
SeExprNode a,
SeExprNode b,
SeExprNode c 
) [inline]

Definition at line 104 of file SeExprNode.h.


Member Function Documentation

void SeExprIfThenElseNode::eval ( SeVec3d v  )  const [virtual]

Evaluation method. Note: v[1] and v[2] are undefined if !isVec.

Reimplemented from SeExprNode.

Definition at line 187 of file SeExprNode.cpp.

References SeExprNode::child(), and SeExprNode::eval().

bool SeExprIfThenElseNode::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 172 of file SeExprNode.cpp.

References SeExprNode::_isVec, and SeExprNode::child().


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

Generated on 25 Jul 2013 for SeExpr by  doxygen 1.6.1