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

SPARK::TTarget Class Reference

This class acts as a write-only interface to a TVariable object. It is used only in the callbacks to describe the target 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::TTarget:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

Structors
 TTarget ()
 Default constructor.

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

 TTarget (const TTarget &target)
 Copy constructor.

Numerical access methods
The overloaded arithmetic operators operate on double only and are all unary operators.

TTargetoperator= (double scalar)
TTargetoperator+= (double scalar)
TTargetoperator-= (double scalar)
TTargetoperator *= (double scalar)
TTargetoperator/= (double scalar)

Detailed Description

This class acts as a write-only interface to a TVariable object. It is used only in the callbacks to describe the target 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::TTarget::TTarget  )  [inline]
 

Default constructor.

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

Normal constructor using a pointer to a TVariable object.

SPARK::TTarget::TTarget const TTarget target  )  [inline]
 

Copy constructor.


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

Generated on 5 Nov 2003 for VisualSPARK 2.01