#include <function.h>
Public Member Functions | |
Constructors and destructor | |
| SquareFunction () throw () | |
| Default constructor. | |
| SquareFunction (const SquareFunction &square) throw () | |
| Copy constructor. | |
| virtual | ~SquareFunction () throw () |
| Destructor. | |
Assignment | |
|
SquareFunction< Function, DataType > & | operator= (const SquareFunction< Function, DataType > &square) throw () |
| Assignment operator. | |
Predicates | |
| bool | operator== (const SquareFunction< Function, DataType > &square) const throw () |
| Equality operator. | |
Function realization | |
| DataType | operator() (const DataType &x) const throw () |
| Evaluation of this subterm. | |
Accessors | |
| void | setFunction (const Function &function) throw () |
| set the function argument of the square | |
| const Function & | getFunction () const throw () |
| get the function argument of the square | |
Protected Attributes | |
| Function | function_ |
|
|||||||||
|
get the function argument of the square
|
|
||||||||||
|
Evaluation of this subterm.
|