#include <exprStore.hpp>
Inheritance diagram for exprStore:
Public Member Functions | |
exprStore (expression *copy) | |
Constructor. | |
exprStore (const exprStore &e, Domain *d=NULL) | |
Store constructor -- Must go. | |
virtual | ~exprStore () |
Destructor. | |
virtual expression * | clone (Domain *d=NULL) const |
Cloning method. | |
virtual CouNumber | operator() () |
function for evaluating the expression -- returns value of exprCopy pointed to, which returns a value stored from a previous evaluation | |
Protected Attributes | |
CouNumber | value_ |
Value of the (previously evaluated) expression. |
Definition at line 22 of file exprStore.hpp.
exprStore::exprStore | ( | expression * | copy | ) | [inline] |
virtual exprStore::~exprStore | ( | ) | [inline, virtual] |
virtual expression* exprStore::clone | ( | Domain * | d = NULL |
) | const [inline, virtual] |
Cloning method.
Reimplemented from exprCopy.
Definition at line 51 of file exprStore.hpp.
References exprStore().
virtual CouNumber exprStore::operator() | ( | ) | [inline, virtual] |
function for evaluating the expression -- returns value of exprCopy pointed to, which returns a value stored from a previous evaluation
Reimplemented from exprCopy.
Definition at line 57 of file exprStore.hpp.
References exprCopy::copy_, and exprCopy::Value().
CouNumber exprStore::value_ [protected] |
Value of the (previously evaluated) expression.
Reimplemented from exprCopy.
Definition at line 27 of file exprStore.hpp.