Constant function.
More...
#include <StkConst.h>
List of all members.
Detailed Description
Constant function.
- Version:
- GridRipper 0.5, 11/15/2008
- Since:
- GROMIT 0.2 (2001)
- Author:
- Peter Csizmadia
Constructor & Destructor Documentation
gridripper::math::expr::StkConst::StkConst |
( |
const string & |
name, |
|
|
GReal_t |
value = 0 | |
|
) |
| | [inline] |
Constructs a stack constant.
- Parameters:
-
| name | the constant name |
| value | the value |
gridripper::math::expr::StkConst::StkConst |
( |
const StkConst & |
other |
) |
[inline] |
Copy constructor.
- Parameters:
-
Member Function Documentation
bool gridripper::math::expr::StkConst::equals |
( |
const StkConst & |
other |
) |
const |
Tests equality.
- Returns:
- true if the constants are equal, false otherwise
bool gridripper::math::expr::StkConst::equals |
( |
GReal_t |
otherValue |
) |
const |
Tests equality.
- Returns:
- true if the values are equal, false otherwise
void gridripper::math::expr::StkConst::evalStack |
( |
GReal_t *& |
p |
) |
const [inline, virtual] |
virtual string gridripper::math::expr::StkConst::getClassName |
( |
|
) |
const [inline, virtual] |
GReal_t gridripper::math::expr::StkConst::getValue |
( |
|
) |
[inline] |
Gets the value of the constant.
- Returns:
- the value
The documentation for this class was generated from the following file:
- /home/laszloa/SVN/GR/gridripper/include/gridripper/math/expr/StkConst.h