Public Member Functions | |
void | execute (void *result, Tree &tree) |
Execute the primitive. | |
void | setValue (void *value) |
Public Attributes | |
my_type | value_ |
Definition at line 92 of file main.cpp.
void Tree::MyTerminal::execute | ( | void * | result, | |
Tree & | tree | |||
) | [inline, virtual] |
Execute the primitive.
Function primitives gather arguments and return a value; terminal primitives return current value.
Implements Tree::Primitives::Primitive.