Public Member Functions | Public Attributes | Protected Attributes

cart::FunctionSet Class Reference

List of all members.

Public Member Functions

 FunctionSet (string gettype)
bool addFunction (string name)
bool addFunction (string name, uint numArgs)
void evaluate (voidP inputs, void *result, uint funcNum)

Public Attributes

map< string, bool > existFunc

Protected Attributes

string type

Detailed Description

Definition at line 20 of file FunctionSet.h.

Constructor & Destructor Documentation

cart::FunctionSet::FunctionSet ( string  gettype  ) 

Gettype in constructor defines data type for evaluation.

Definition at line 5 of file FunctionSet.cpp.

Member Function Documentation

bool cart::FunctionSet::addFunction ( string  name  ) 

Add function defined by its name, take default number of arguments.

Definition at line 21 of file FunctionSet.cpp.

bool cart::FunctionSet::addFunction ( string  name,
uint  numArgs 

Add function defined by its name and number of arguments.

Definition at line 130 of file FunctionSet.cpp.

void cart::FunctionSet::evaluate ( voidP  inputs,
void *  result,
uint  funcNum 

Evaluate function with inputs and function defined by funcNum, return result in parameter result.

Definition at line 222 of file FunctionSet.cpp.

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