SeExprOrNode Class Reference

Node that evaluates a logical OR. More...

#include <SeExprNode.h>

Inheritance diagram for SeExprOrNode:
SeExprNode

List of all members.

Public Member Functions

 SeExprOrNode (const SeExpression *expr, SeExprNode *a, SeExprNode *b)
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 evaluates a logical OR.

Definition at line 198 of file SeExprNode.h.


Constructor & Destructor Documentation

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

Definition at line 201 of file SeExprNode.h.


Member Function Documentation

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

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

Reimplemented from SeExprNode.

Definition at line 313 of file SeExprNode.cpp.

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

bool SeExprOrNode::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 303 of file SeExprNode.cpp.

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


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

Generated on 25 Jul 2013 for SeExpr by  doxygen 1.6.1