Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

SPARK::TArgument Class Reference

This class acts as a read-only interface to a TVariable object. It is used only in the callbacks to describe the argument variables. This class is not used internally in the solver. It provides proper value access behavior depending on the type of the variable and the calling context. Also, it implements some of the attribute access methods from TVariable. More...

#include <callback.h>

Inheritance diagram for SPARK::TArgument:

Inheritance graph
[legend]
Collaboration diagram for SPARK::TArgument:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Structors
 TArgument ()
 Default constructor.

 TArgument (SPARK::TVariable *variable)
 Normal constructor using a pointer to a TVariable object.

 TArgument (const TArgument &argument)
 Copy constructor.

Numerical access methods
double operator() (unsigned innerStep) const
 Returns the inner value for innerStep.

 operator double () const
 Allows implicit conversion to double by returning the current value.


Detailed Description

This class acts as a read-only interface to a TVariable object. It is used only in the callbacks to describe the argument variables. This class is not used internally in the solver. It provides proper value access behavior depending on the type of the variable and the calling context. Also, it implements some of the attribute access methods from TVariable.


Constructor & Destructor Documentation

SPARK::TArgument::TArgument  )  [inline]
 

Default constructor.

SPARK::TArgument::TArgument SPARK::TVariable variable  )  [inline, explicit]
 

Normal constructor using a pointer to a TVariable object.

SPARK::TArgument::TArgument const TArgument argument  )  [inline]
 

Copy constructor.


Member Function Documentation

double SPARK::TArgument::operator() unsigned  innerStep  )  const [inline]
 

Returns the inner value for innerStep.

SPARK::TArgument::operator double  )  const [inline]
 

Allows implicit conversion to double by returning the current value.


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

Generated on 5 Nov 2003 for VisualSPARK 2.01