copasi API
0.1
|
#include <CEvaluationNodeVariable.h>
Public Types | |
enum | SubType { INVALID = 0x00FFFFFF, ANY = 0x00000000 } |
Public Member Functions | |
CEvaluationNodeVariable (const SubType &subType, const Data &data) | |
CEvaluationNodeVariable (const CEvaluationNodeVariable &src) | |
virtual | ~CEvaluationNodeVariable () |
virtual bool | compile (const CEvaluationTree *pTree) |
virtual const C_FLOAT64 & | value () const |
virtual ASTNode * | toAST (const CCopasiDataModel *pDataModel) const |
virtual void | writeMathML (std::ostream &out, const std::vector< std::vector< std::string > > &env, bool expand=true, unsigned C_INT32 l=0) const |
unsigned C_INT32 | getIndex () const |
This is class for nodes presenting numbers used in an evaluation trees
Default constructor
const | SubType & subType |
const | Data & data |
CEvaluationNodeVariable::CEvaluationNodeVariable | ( | const CEvaluationNodeVariable & | src | ) |
Copy constructor
const | CEvaluationNodeVariable & src |
CEvaluationNodeVariable::~CEvaluationNodeVariable | ( | ) | [virtual] |
Destructor
bool CEvaluationNodeVariable::compile | ( | const CEvaluationTree * | pTree | ) | [virtual] |
Compile a node;
const | CEvaluationTree * pTree |
Reimplemented from CEvaluationNode.
unsigned C_INT32 CEvaluationNodeVariable::getIndex | ( | ) | const |
return the index of the variable in the function parameter list
ASTNode * CEvaluationNodeVariable::toAST | ( | const CCopasiDataModel * | pDataModel | ) | const [virtual] |
Converts this node to an AST Node of type AST_NAME
Reimplemented from CEvaluationNode.
const C_FLOAT64 & CEvaluationNodeVariable::value | ( | ) | const [inline, virtual] |
void CEvaluationNodeVariable::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.