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