#include <function.h>
Public Member Functions | |
Constructors and destructor | |
| Subtraction () throw () | |
| Default constructor. | |
| Subtraction (const Subtraction &subtraction) throw () | |
| Copy constructor. | |
| virtual | ~Subtraction () throw () |
| Destructor. | |
Assignment | |
|
Subtraction< First, Second, DataType > & | operator= (const Subtraction< First, Second, DataType > &subtraction) throw () |
| Assignment operator. | |
Predicates | |
| bool | operator== (const Subtraction< First, Second, DataType > &subtraction) const throw () |
| Equality operator. | |
Function realization | |
| DataType | operator() (const DataType &x) const throw () |
| Evaluation of this subterm. | |
Accessors | |
| void | setFirst (const First &first) throw () |
| set the first argument of the subtraction | |
| First & | getFirst () throw () |
| get the first argument of the subtraction | |
| void | setSecond (const Second &second) throw () |
| set the second argument of the subtraction | |
| Second & | getSecond () throw () |
| get the second argument of the subtraction | |
Protected Attributes | |
| First | first_ |
| Second | second_ |
|
|||||||||
|
get the first argument of the subtraction
|
|
|||||||||
|
get the second argument of the subtraction
|
|
||||||||||
|
Evaluation of this subterm.
|