#include <FormulaParser.h>
List of all members.
Detailed Description
Parses a formula and evaluates its value
Constructor & Destructor Documentation
| TFormulaParser::TFormulaParser |
( |
const TString & |
rFormula = L"" ) |
|
Creates the formula parser
| TFormulaParser::~TFormulaParser |
( |
) |
[protected, virtual] |
Destroys the formula parser
Member Function Documentation
| virtual void MQUALIFIER zeus::TFormulaParser::addRef |
( |
) |
const [virtual] |
| virtual Retval MQUALIFIER zeus::TFormulaParser::askForInterface |
( |
const InterfaceID & |
rInterfaceID, |
|
|
IZUnknown *& |
rpIface |
|
) |
| [virtual] |
| Retval MQUALIFIER TFormulaParser::attach |
( |
IObserver & |
rObserver ) |
[virtual] |
- See also:
- ISubject::attach
| Retval MQUALIFIER TFormulaParser::detach |
( |
IObserver & |
rObserver ) |
[virtual] |
- See also:
- ISubject::detach
| Retval TFormulaParser::evalFloatValue |
( |
Float & |
rfValue ) |
|
evaluates the formula and returns the value
- Parameters:
-
| rfValue | : return parameter of the evaluated value |
- Return values:
-
| RET_NOERROR | : value evaluated |
| RET_INVALID_DATA | : invalid function or invalid constant used |
| RET_OUT_OF_RANGE | : parameter range of a function is out of range |
| RET_DIV_BY_ZERO | : division by zero |
| RET_SYNTAX_ERROR | : invalid formula syntax |
bErrorInt
| virtual void MQUALIFIER zeus::TFormulaParser::release |
( |
) |
const [virtual] |
| void zeus::TFormulaParser::setAngleSystemProperty |
( |
IAngle::ESystem |
eSystem ) |
[inline] |
sets the angle system property (Radiant or degrees). Radiant is the default setting.
| void TFormulaParser::setFormula |
( |
const TString & |
rFormula ) |
|
The documentation for this class was generated from the following files: