#include <function.h>
Public Member Functions | |
Constructors and destructor | |
| Addition () throw () | |
| Default constructor. | |
| Addition (const Addition< First, Second, DataType > &addition) throw () | |
| Copy constructor. | |
| virtual | ~Addition () throw () |
| Destructor. | |
Assignment | |
| Addition< First, Second, DataType > & | operator= (const Addition< First, Second, DataType > &addition) throw () |
| Assignment operator. | |
Predicates | |
| bool | operator== (const Addition< First, Second, DataType > &addition) 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 addition | |
| First & | getFirst () throw () |
| get the first argument of the addition | |
| const First & | getFirst () const throw () |
| Get the first argument of the addition (const version). | |
| void | setSecond (const Second &second) throw () |
| set the second argument of the addition | |
| Second & | getSecond () throw () |
| get the second argument of the addition | |
| const Second & | getSecond () const throw () |
| Get the second argument of the addition (const version). | |
Protected Attributes | |
| First | first_ |
| Second | second_ |
|
|||||||||
|
Get the first argument of the addition (const version).
|
|
|||||||||
|
get the first argument of the addition
|
|
|||||||||
|
Get the second argument of the addition (const version).
|
|
|||||||||
|
get the second argument of the addition
|
|
||||||||||
|
Evaluation of this subterm.
|