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