#include <StkConst.h>
Public Member Functions | |
StkConst (const string &name, GReal_t value=0) | |
Constructs a stack constant. | |
StkConst (const StkConst &other) | |
Copy constructor. | |
GReal_t | getValue () |
Gets the value of the constant. | |
bool | equals (const StkConst &other) const |
Tests equality. | |
bool | equals (GReal_t otherValue) const |
Tests equality. | |
void | evalStack (GReal_t *&p) const |
Evaluates the stack. | |
virtual string | getClassName () const |
Gets the class name. |
gridripper::math::expr::StkConst::StkConst | ( | const string & | name, | |
GReal_t | value = 0 | |||
) | [inline] |
Constructs a stack constant.
name | the constant name | |
value | the value |
gridripper::math::expr::StkConst::StkConst | ( | const StkConst & | other | ) | [inline] |
Copy constructor.
other | the object to copy |
GReal_t gridripper::math::expr::StkConst::getValue | ( | ) | [inline] |
Gets the value of the constant.
bool gridripper::math::expr::StkConst::equals | ( | const StkConst & | other | ) | const |
Tests equality.
bool gridripper::math::expr::StkConst::equals | ( | GReal_t | otherValue | ) | const |
Tests equality.
void gridripper::math::expr::StkConst::evalStack | ( | GReal_t *& | p | ) | const [inline, virtual] |
virtual string gridripper::math::expr::StkConst::getClassName | ( | ) | const [inline, virtual] |