#include <Expression.h>
Public Member Functions | |
Expression () | |
template<typename F > | |
Expression (const F &f) | |
Expression (const Expression &e) | |
double | operator() () const |
Expression & | operator= (const Expression &e) |
std::ostream & | print (std::ostream &cout) const |
Private Attributes | |
std::auto_ptr< AbsExpression > | _f |
Definition at line 27 of file Expression.h.
funct::Expression::Expression | ( | ) | [inline] |
Definition at line 28 of file Expression.h.
{ }
funct::Expression::Expression | ( | const F & | f | ) | [inline] |
Definition at line 30 of file Expression.h.
funct::Expression::Expression | ( | const Expression & | e | ) | [inline] |
Definition at line 31 of file Expression.h.
: _f(e._f->clone()) { }
double funct::Expression::operator() | ( | ) | const [inline] |
Expression& funct::Expression::operator= | ( | const Expression & | e | ) | [inline] |
Definition at line 32 of file Expression.h.
References _f.
{ _f.reset(e._f->clone()); return *this; }
std::ostream& funct::Expression::print | ( | std::ostream & | cout | ) | const [inline] |
Definition at line 34 of file Expression.h.
References _f.
Referenced by funct::operator<<(), funct::Function< X1, X2, null_var >::print(), funct::Function< X1, X2, X3 >::print(), and funct::Function< X1, null_var, null_var >::print().
std::auto_ptr<AbsExpression> funct::Expression::_f [private] |
Definition at line 36 of file Expression.h.
Referenced by operator()(), operator=(), and print().