Public Member Functions | |
StkVar (String name) | |
Constructs a stack variable with the specified name. | |
StkVar (StkVar other) | |
Copy constructor. | |
void | evalStack (StkPointer p) |
Evaluates the stack. | |
String | getClassName () |
Gets the class name. | |
void | writeExternal (ObjectOutput out) throws java.io.IOException |
Saves object state. | |
void | readExternal (ObjectInput in) throws java.io.IOException |
Restores object state. | |
Public Attributes | |
double | value |
The value. |
gridripper::math::expr::StkVar::StkVar | ( | String | name | ) | [inline] |
Constructs a stack variable with the specified name.
name | the variable name |
gridripper::math::expr::StkVar::StkVar | ( | StkVar | other | ) | [inline] |
Copy constructor.
other | the object to copy |
void gridripper::math::expr::StkVar::evalStack | ( | StkPointer | p | ) | [inline, virtual] |
String gridripper::math::expr::StkVar::getClassName | ( | ) | [inline, virtual] |
void gridripper::math::expr::StkVar::writeExternal | ( | ObjectOutput | out | ) | throws java.io.IOException [inline] |
Saves object state.
out | the stream to write the object to |
IOException | Includes any I/O exceptions that may occur |
Reimplemented from gridripper::math::expr::StkFunc.
void gridripper::math::expr::StkVar::readExternal | ( | ObjectInput | in | ) | throws java.io.IOException [inline] |
Restores object state.
in | the stream to read data from in order to restore the object |
IOException | if I/O errors occur |
Reimplemented from gridripper::math::expr::StkFunc.
The value.