copasi API
0.1
|
#include <CEvaluationNodeVector.h>
Public Types | |
enum | SubType { INVALID = 0x00FFFFFF, VECTOR = 0x00000000 } |
Public Member Functions | |
CEvaluationNodeVector () | |
CEvaluationNodeVector (const SubType &subType, const Data &data) | |
CEvaluationNodeVector (const CEvaluationNodeVector &src) | |
virtual | ~CEvaluationNodeVector () |
virtual const C_FLOAT64 & | value () const |
virtual std::string | getInfix () const |
virtual std::string | getDisplayString (const CEvaluationTree *pTree) const |
virtual std::string | getDisplay_C_String (const CEvaluationTree *pTree) const |
virtual std::string | getDisplay_MMD_String (const CEvaluationTree *pTree) const |
virtual std::string | getDisplay_XPP_String (const CEvaluationTree *pTree) const |
virtual ASTNode * | toAST (const CCopasiDataModel *pDataModel) const |
bool | addChild (CCopasiNode< Data > *pChild, CCopasiNode< Data > *pAfter=NULL) |
const std::vector < CEvaluationNode * > & | getVector () const |
Static Public Member Functions | |
static CEvaluationNode * | createNodeFromASTTree (const ASTNode &node) |
This is the class for nodes presenting opertors used in an evaluation trees.
CEvaluationNodeVector::CEvaluationNodeVector | ( | ) |
Default constructor
Default constructor
const | SubType & subType |
const | Data & data |
CEvaluationNodeVector::CEvaluationNodeVector | ( | const CEvaluationNodeVector & | src | ) |
Copy constructor
const | CEvaluationNodeVector & src |
CEvaluationNodeVector::~CEvaluationNodeVector | ( | ) | [virtual] |
Destructor
bool CEvaluationNodeVector::addChild | ( | CCopasiNode< Data > * | pChild, |
CCopasiNode< Data > * | pAfter = NULL |
||
) | [virtual] |
Add a child to a node. If pAfter == this the child will be inserted at the fornt of the list of children.
CCopasiNode< | Data > * pChild |
CCopasiNode< | Data > * pAfter (default: NULL appended to the list of children) |
Reimplemented from CCopasiNode< std::string >.
CEvaluationNode * CEvaluationNodeVector::createNodeFromASTTree | ( | const ASTNode & | node | ) | [static] |
Creates a new CEvaluationNodeVector from an ASTNode.
const | ASTNode* node |
std::string CEvaluationNodeVector::getDisplay_C_String | ( | const CEvaluationTree * | pTree | ) | const [virtual] |
Retrieve the display string of the node and its eventual child nodes in C.
Reimplemented from CEvaluationNode.
std::string CEvaluationNodeVector::getDisplay_MMD_String | ( | const CEvaluationTree * | pTree | ) | const [virtual] |
Retrieve the display string of the node and its eventual child nodes in Berkeley Madonna format.
Reimplemented from CEvaluationNode.
std::string CEvaluationNodeVector::getDisplay_XPP_String | ( | const CEvaluationTree * | pTree | ) | const [virtual] |
Retrieve the display string of the node and its eventual child nodes in XPPAUT format.
Reimplemented from CEvaluationNode.
std::string CEvaluationNodeVector::getDisplayString | ( | const CEvaluationTree * | pTree | ) | const [virtual] |
Retrieve the display string of the node and its eventual child nodes.
Reimplemented from CEvaluationNode.
std::string CEvaluationNodeVector::getInfix | ( | ) | const [virtual] |
Retrieve the infix value of the node and its eventual child nodes.
Reimplemented from CEvaluationNode.
const std::vector< CEvaluationNode * > & CEvaluationNodeVector::getVector | ( | ) | const |
Retrieve the vector of evaluation nodes
ASTNode * CEvaluationNodeVector::toAST | ( | const CCopasiDataModel * | pDataModel | ) | const [virtual] |
Create a new ASTNode corresponding to this choice node.
Reimplemented from CEvaluationNode.
const C_FLOAT64 & CEvaluationNodeVector::value | ( | ) | const [virtual] |