copasi API
0.1
|
#include <CEvaluationNodeObject.h>
Public Types | |
enum | SubType { INVALID = 0x00FFFFFF, CN = 0x00000000, POINTER = 0x00000001 } |
Public Member Functions | |
CEvaluationNodeObject (const SubType &subType, const Data &data) | |
CEvaluationNodeObject (const C_FLOAT64 *pValue) | |
CEvaluationNodeObject (const CEvaluationNodeObject &src) | |
virtual | ~CEvaluationNodeObject () |
virtual bool | compile (const CEvaluationTree *pTree) |
virtual const C_FLOAT64 & | value () const |
virtual const Data & | getData () const |
virtual bool | setData (const Data &data) |
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 |
const CRegisteredObjectName & | getObjectCN () const |
virtual void | writeMathML (std::ostream &out, const std::vector< std::vector< std::string > > &env, bool expand=true, unsigned C_INT32 l=0) const |
Static Public Member Functions | |
static CEvaluationNode * | createNodeFromASTTree (const ASTNode &node) |
This is class for nodes presenting numbers used in an evaluation trees
Default constructor
const | SubType & subType |
const | Data & data |
CEvaluationNodeObject::CEvaluationNodeObject | ( | const C_FLOAT64 * | pValue | ) |
Specific constructor
const | Data & data |
CEvaluationNodeObject::CEvaluationNodeObject | ( | const CEvaluationNodeObject & | src | ) |
Copy constructor
const | CEvaluationNodeObject & src |
CEvaluationNodeObject::~CEvaluationNodeObject | ( | ) | [virtual] |
Destructor
bool CEvaluationNodeObject::compile | ( | const CEvaluationTree * | pTree | ) | [virtual] |
Compile a node;
const | CEvaluationTree * pTree |
Reimplemented from CEvaluationNode.
CEvaluationNode * CEvaluationNodeObject::createNodeFromASTTree | ( | const ASTNode & | node | ) | [static] |
Create a new operator node from an ASTNode tree.
const | ASTNode* node |
const CEvaluationNode::Data & CEvaluationNodeObject::getData | ( | ) | const [virtual] |
Retrieve the value of the node. This method is superseded by value() which will perform faster.
Reimplemented from CCopasiNode< std::string >.
std::string CEvaluationNodeObject::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 CEvaluationNodeObject::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 CEvaluationNodeObject::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 CEvaluationNodeObject::getDisplayString | ( | const CEvaluationTree * | pTree | ) | const [virtual] |
Retrieve the display string of the node and its eventual child nodes.
Reimplemented from CEvaluationNode.
std::string CEvaluationNodeObject::getInfix | ( | ) | const [virtual] |
Retrieve the infix value of the node and its eventual child nodes.
Reimplemented from CEvaluationNode.
const CRegisteredObjectName & CEvaluationNodeObject::getObjectCN | ( | ) | const |
Retrieve the CN of the referred object.
bool CEvaluationNodeObject::setData | ( | const Data & | data | ) | [virtual] |
Set the data of the Node.
const | Data & data |
Reimplemented from CCopasiNode< std::string >.
ASTNode * CEvaluationNodeObject::toAST | ( | const CCopasiDataModel * | pDataModel | ) | const [virtual] |
Converts this node to an ASTNode.
Reimplemented from CEvaluationNode.
virtual const C_FLOAT64& CEvaluationNodeObject::value | ( | ) | const [inline, virtual] |
void CEvaluationNodeObject::writeMathML | ( | std::ostream & | out, |
const std::vector< std::vector< std::string > > & | env, | ||
bool | expand = true , |
||
unsigned C_INT32 | l = 0 |
||
) | const [virtual] |
generate display MathML recursively
Reimplemented from CEvaluationNode.