copasi API  0.1
Public Types | Public Member Functions | Static Public Member Functions
CEvaluationNodeDelay Class Reference

#include <CEvaluationNodeDelay.h>

Inheritance diagram for CEvaluationNodeDelay:
CEvaluationNode CCopasiNode< std::string >

List of all members.

Public Types

enum  SubType { INVALID = 0x00FFFFFF, DELAY = 0x00000000 }

Public Member Functions

 CEvaluationNodeDelay (const SubType &subType, const Data &data)
 CEvaluationNodeDelay (const CEvaluationNodeDelay &src)
virtual ~CEvaluationNodeDelay ()
virtual const C_FLOAT64 & value () 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
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
virtual bool compile (const CEvaluationTree *pTree)
virtual std::string getInfix () const

Static Public Member Functions

static CEvaluationNodecreateNodeFromASTTree (const ASTNode &node)

Detailed Description

This is class for nodes representing the (SBML) delay function.


Member Enumeration Documentation

Enumeration of possible node types.

Enumerator:
INVALID 
DELAY 

Constructor & Destructor Documentation

CEvaluationNodeDelay::CEvaluationNodeDelay ( const SubType subType,
const Data data 
)

constructor

Parameters:
constSubType & subType
constData & data
CEvaluationNodeDelay::CEvaluationNodeDelay ( const CEvaluationNodeDelay src)

Copy constructor

Parameters:
constCEvaluationNodeDelay & src
CEvaluationNodeDelay::~CEvaluationNodeDelay ( ) [virtual]

Destructor


Member Function Documentation

bool CEvaluationNodeDelay::compile ( const CEvaluationTree pTree) [virtual]

Compile a node;

Parameters:
constCEvaluationTree * pTree
Returns:
bool success;

Reimplemented from CEvaluationNode.

CEvaluationNode * CEvaluationNodeDelay::createNodeFromASTTree ( const ASTNode &  node) [static]

Creates a new CEvaluationNodeDelay from an ASTNode.

Parameters:
constASTNode* node
Returns:
CEvaluationNode* return a pointer to the newly created node;
std::string CEvaluationNodeDelay::getDisplay_C_String ( const CEvaluationTree pTree) const [virtual]

Retrieve the display string of the node and its eventual child nodes in C.

Returns:
const Data & value

Reimplemented from CEvaluationNode.

std::string CEvaluationNodeDelay::getDisplay_MMD_String ( const CEvaluationTree pTree) const [virtual]

Retrieve the display string of the node and its eventual child nodes in Berkeley Madonna format.

Returns:
const Data & value

Reimplemented from CEvaluationNode.

std::string CEvaluationNodeDelay::getDisplay_XPP_String ( const CEvaluationTree pTree) const [virtual]

Retrieve the display string of the node and its eventual child nodes in XPPAUT format.

Returns:
const Data & value

Reimplemented from CEvaluationNode.

std::string CEvaluationNodeDelay::getDisplayString ( const CEvaluationTree pTree) const [virtual]

Retrieve the display string of the node and its eventual child nodes.

Returns:
const Data & value

Reimplemented from CEvaluationNode.

std::string CEvaluationNodeDelay::getInfix ( ) const [virtual]

Retrieve the infix value of the node and its eventual child nodes.

Returns:
const Data & value

Reimplemented from CEvaluationNode.

ASTNode * CEvaluationNodeDelay::toAST ( const CCopasiDataModel pDataModel) const [virtual]

Create a new ASTNode corresponding to this delay node.

Returns:
ASTNode* return a pointer to the newly created node;

Reimplemented from CEvaluationNode.

const C_FLOAT64 & CEvaluationNodeDelay::value ( ) const [virtual]

Retrieve the value of the node

Returns:
const C_FLOAT64 & value

Reimplemented from CEvaluationNode.

void CEvaluationNodeDelay::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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines