#include <function.h>
Public Member Functions | |
Constructors and destructor | |
| MutableConstant () throw () | |
| Default constructor. | |
| MutableConstant (const MutableConstant< DataType > &constant) throw () | |
| Copy constructor. | |
| MutableConstant (DataType constant) throw () | |
| Detailed constructor. | |
| virtual | ~MutableConstant () throw () |
| Destructor. | |
Assignment | |
| MutableConstant< DataType > & | operator= (const MutableConstant< DataType > &constant) throw () |
| Assignment operator. | |
Predicates | |
| bool | operator== (const MutableConstant< DataType > &constant) const throw () |
| Equality operator. | |
Function realization | |
| DataType | operator() (const DataType &) const throw () |
| Evaluation of this subterm. | |
Accessors | |
| void | setConstant (DataType constant) throw () |
| Set the constant argument of the constant. | |
| const DataType & | getConstant () const throw () |
| Get the constant argument of the constant. | |
Protected Attributes | |
| DataType | constant_ |
This class represents constants that are not known at compile time but must be set at running time.
|
|||||||||
|
Get the constant argument of the constant.
|
|
||||||||||
|
Evaluation of this subterm.
|