Public Member Functions | |
StkOpRepository () | |
Constructs a stack operation repository. | |
void | add (StkOp f) |
Adds a stack operation. | |
StkOp | find (String name) |
Finds the function or operator with the specified name. | |
int | prec (String name) |
Returns the precendence of the operator. | |
int | size () |
Gets the size of the repository. | |
StkOp | getFunc (int i) |
Gets a stack function. | |
StkOp[] | getArray () |
Gets an array containing all stack functions. |
void gridripper::math::expr::StkOpRepository::add | ( | StkOp | f | ) | [inline] |
Adds a stack operation.
f | the stack operation |
int gridripper::math::expr::StkOpRepository::size | ( | ) | [inline] |
Gets the size of the repository.
StkOp gridripper::math::expr::StkOpRepository::getFunc | ( | int | i | ) | [inline] |
Gets a stack function.
i | the index |
StkOp [] gridripper::math::expr::StkOpRepository::getArray | ( | ) | [inline] |
Gets an array containing all stack functions.