Public Member Functions | Public Attributes

Loop Class Reference

Inheritance diagram for Loop:
Tree::Primitives::Primitive

List of all members.

Public Member Functions

bool initialize (StateP state)
 Initialize value(s).
void execute (void *result, Tree::Tree &tree)
 Execute the primitive.
Tree::PrimitiveP copyWithNode (Tree::PrimitiveP primitive)
Tree::PrimitiveP assignToNode (Tree::PrimitiveP primitive)
 Create (or choose) new unique ERC value and assign to tree node.

Public Attributes

int times_
double loopResults [MAXITER]

Detailed Description

Definition at line 9 of file main.cpp.


Member Function Documentation

Tree::PrimitiveP Loop::assignToNode ( Tree::PrimitiveP  primitive  )  [inline]

Create (or choose) new unique ERC value and assign to tree node.

Parameters:
pointer to destination

Definition at line 82 of file main.cpp.

void Loop::execute ( void *  result,
Tree::Tree tree 
) [inline, virtual]

Execute the primitive.

Function primitives gather arguments and return a value; terminal primitives return current value.

Implements Tree::Primitives::Primitive.

Definition at line 36 of file main.cpp.


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