copasi API
0.1
|
#include <CMassAction.h>
Public Member Functions | |
CMassAction (const std::string &name="NoName", const CCopasiContainer *pParent=NULL) | |
CMassAction (const CFunction &src, const CCopasiContainer *pParent=NULL) | |
CMassAction (const TriLogic &reversible, const CCopasiContainer *pParent=NULL) | |
~CMassAction () | |
virtual const C_FLOAT64 & | calcValue (const CCallParameters< C_FLOAT64 > &callParameters) |
virtual bool | dependsOn (const C_FLOAT64 *parameter, const CCallParameters< C_FLOAT64 > &callParameters) const |
virtual bool | setInfix (const std::string &infix) |
virtual bool | compile () |
virtual void | writeMathML (std::ostream &out, const std::vector< std::vector< std::string > > &env, bool expand=true, bool fullExpand=true, unsigned C_INT32 l=0) const |
Created for Copasi by Stefan Hoops (C) Stefan Hoops 2001 :pos 62.0314,41.4407 :route CFunction; v,58.2,35.55,39.4413,82.281,41.4407
CMassAction::CMassAction | ( | const std::string & | name = "NoName" , |
const CCopasiContainer * | pParent = NULL |
||
) |
Default constructor
const | std::string & name (default: "NoName") |
const | CCopasiContainer * pParent (default: NULL) |
Created for Copasi by Stefan Hoops (C) Stefan Hoops 2001
CMassAction::CMassAction | ( | const CFunction & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
Copy constructor
const CFunction & | src |
const | CCopasiContainer * pParent (default: NULL) |
CMassAction::CMassAction | ( | const TriLogic & | reversible, |
const CCopasiContainer * | pParent = NULL |
||
) |
Specified constructor
const | CCopasiContainer * pParent (default: NULL) |
CMassAction::~CMassAction | ( | ) |
Destructor
const C_FLOAT64 & CMassAction::calcValue | ( | const CCallParameters< C_FLOAT64 > & | callParameters | ) | [virtual] |
Calculates the value of the function
const | CCallParameters<C_FLOAT64> & callParameters |
Reimplemented from CFunction.
bool CMassAction::compile | ( | ) | [virtual] |
Compile the evaluation tree.
Reimplemented from CEvaluationTree.
bool CMassAction::dependsOn | ( | const C_FLOAT64 * | parameter, |
const CCallParameters< C_FLOAT64 > & | callParameters | ||
) | const [virtual] |
Returns whether the function depends on the given parameter ¶m const void * parameter ¶m const CCallParameters<C_FLOAT64> & callParameters ¶m bool dependsOn
Reimplemented from CFunction.
bool CMassAction::setInfix | ( | const std::string & | infix | ) | [virtual] |
Set the infix description of the tree and compile it.
const | std::string & infix |
Reimplemented from CFunction.
void CMassAction::writeMathML | ( | std::ostream & | out, |
const std::vector< std::vector< std::string > > & | env, | ||
bool | expand = true , |
||
bool | fullExpand = true , |
||
unsigned C_INT32 | l = 0 |
||
) | const [virtual] |
Function to write the mathematical formula in format of MathML.
std::ostream | & out |
const | std::vector<std::vector<std::string> > & env |
bool | expand = true |
bool | fullExpand |
unsigned | C_INT32 l |
Reimplemented from CFunction.