FLOPC++
|
Base class for all "constant" types of data. More...
#include <MP_constant.hpp>
Public Member Functions | |
virtual double | evaluate () const =0 |
virtual int | getStage () const |
virtual int | stage () const |
Protected Member Functions | |
Constant_base () | |
virtual | ~Constant_base () |
Protected Attributes | |
int | count |
Friends | |
class | Constant |
class | Handle< Constant_base * > |
Base class for all "constant" types of data.
Definition at line 20 of file MP_constant.hpp.
flopc::Constant_base::Constant_base | ( | ) | [inline, protected] |
Definition at line 32 of file MP_constant.hpp.
virtual flopc::Constant_base::~Constant_base | ( | ) | [inline, protected, virtual] |
Definition at line 33 of file MP_constant.hpp.
virtual double flopc::Constant_base::evaluate | ( | ) | const [pure virtual] |
Implemented in flopc::Constant_index, flopc::Constant_double, flopc::Constant_abs, flopc::Constant_pos, flopc::Constant_ceil, flopc::Constant_floor, flopc::Constant_min_2, flopc::Constant_max_2, flopc::Constant_plus, flopc::Constant_minus, flopc::Constant_unary_minus, flopc::Constant_mult, flopc::Constant_div, flopc::Constant_if, flopc::Constant_max, flopc::Constant_min, flopc::Constant_sum, flopc::Constant_product, and flopc::DataRef.
virtual int flopc::Constant_base::getStage | ( | ) | const [inline, virtual] |
Reimplemented in flopc::DataRef.
Definition at line 25 of file MP_constant.hpp.
virtual int flopc::Constant_base::stage | ( | ) | const [inline, virtual] |
Definition at line 28 of file MP_constant.hpp.
Referenced by flopc::DataRef::getStage().
friend class Constant [friend] |
Reimplemented in flopc::Constant_index, and flopc::Constant_double.
Definition at line 21 of file MP_constant.hpp.
Referenced by flopc::DataRef::operator=().
friend class Handle< Constant_base * > [friend] |
Definition at line 22 of file MP_constant.hpp.
int flopc::Constant_base::count [protected] |
Definition at line 34 of file MP_constant.hpp.