gridripper::math::expr::StkArg Class Reference

Function argument on a stack. More...

Inheritance diagram for gridripper::math::expr::StkArg:

gridripper::math::expr::StkFunc gridripper::math::expr::StkOp

List of all members.

Public Member Functions

 StkArg (String name)
 Constructs a stack function argument.
 StkArg (StkArg 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.


Detailed Description

Function argument on a stack.

Version:
GridRipper 0.5, 11/15/2008
Since:
GROMIT 0.2 (2001)
Author:
Peter Csizmadia

Constructor & Destructor Documentation

gridripper::math::expr::StkArg::StkArg ( String  name  )  [inline]

Constructs a stack function argument.

Parameters:
name the argument name
value the value

gridripper::math::expr::StkArg::StkArg ( StkArg  other  )  [inline]

Copy constructor.

Parameters:
other the object to copy


Member Function Documentation

void gridripper::math::expr::StkArg::evalStack ( StkPointer  p  )  [inline, virtual]

Evaluates the stack.

Parameters:
p the stack pointer

Implements gridripper::math::expr::StkFunc.

String gridripper::math::expr::StkArg::getClassName (  )  [inline, virtual]

Gets the class name.

Returns:
the class name

Reimplemented from gridripper::math::expr::StkFunc.

void gridripper::math::expr::StkArg::writeExternal ( ObjectOutput  out  )  throws java.io.IOException [inline]

Saves object state.

Parameters:
out the stream to write the object to
Exceptions:
IOException Includes any I/O exceptions that may occur

Reimplemented from gridripper::math::expr::StkFunc.

void gridripper::math::expr::StkArg::readExternal ( ObjectInput  in  )  throws java.io.IOException [inline]

Restores object state.

Parameters:
in the stream to read data from in order to restore the object
Exceptions:
IOException if I/O errors occur

Reimplemented from gridripper::math::expr::StkFunc.


Member Data Documentation

The value.


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

Generated on Wed Jun 17 18:47:29 2009 for GridRipper by  doxygen 1.5.6