gridripper::math::expr::StkOpRepository Class Reference

A repository of operators and functions. More...

Inheritance diagram for gridripper::math::expr::StkOpRepository:

gridripper::math::expr::DefaultFuncRepository

List of all members.

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.


Detailed Description

A repository of operators and functions.

Version:
GridRipper 0.5, 11/15/2008
Since:
GROMIT 0.2 (2001)
Author:
Peter Csizmadia

Member Function Documentation

void gridripper::math::expr::StkOpRepository::add ( StkOp  f  )  [inline]

Adds a stack operation.

Parameters:
f the stack operation

int gridripper::math::expr::StkOpRepository::size (  )  [inline]

Gets the size of the repository.

Returns:
the number of stack functions

StkOp gridripper::math::expr::StkOpRepository::getFunc ( int  i  )  [inline]

Gets a stack function.

Parameters:
i the index
Returns:
the stack function

StkOp [] gridripper::math::expr::StkOpRepository::getArray (  )  [inline]

Gets an array containing all stack functions.

Returns:
the functions


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

Generated on Wed Jun 17 18:47:30 2009 for GridRipper by  doxygen 1.5.6