exprStore Class Reference

storage class for previously evaluated expressions More...

#include <exprStore.hpp>

Inheritance diagram for exprStore:

Inheritance graph
[legend]
Collaboration diagram for exprStore:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 exprStore (expression *copy)
 Constructor.
 exprStore (const exprStore &e, Domain *d=NULL)
 Store constructor -- Must go.
virtual ~exprStore ()
 Destructor.
virtual expressionclone (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.

Detailed Description

storage class for previously evaluated expressions

Definition at line 22 of file exprStore.hpp.


Constructor & Destructor Documentation

exprStore::exprStore ( expression copy  )  [inline]

Constructor.

Definition at line 32 of file exprStore.hpp.

Referenced by clone().

exprStore::exprStore ( const exprStore e,
Domain d = NULL 
) [inline]

Store constructor -- Must go.

Definition at line 36 of file exprStore.hpp.

virtual exprStore::~exprStore (  )  [inline, virtual]

Destructor.

Definition at line 42 of file exprStore.hpp.

References exprCopy::copy_.


Member Function Documentation

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().


Member Data Documentation

CouNumber exprStore::value_ [protected]

Value of the (previously evaluated) expression.

Reimplemented from exprCopy.

Definition at line 27 of file exprStore.hpp.


The documentation for this class was generated from the following file:
Generated on Wed Jan 20 03:05:57 2010 for Couenne by  doxygen 1.4.7