COPASI API
4.16.103
|
#include <CMMLOutput.h>
Public Member Functions | |
CMMLOutput () | |
Static Public Member Functions | |
static void | writeDifferentialEquations (std::ostream &mml, CModel *model, bool localParameterNumbers, bool expand, bool expandFull) |
Static Private Member Functions | |
static void | createParameterMapping (const CReaction *pReac, std::vector< std::vector< std::string > > ¶ms, bool numbers) |
static std::set< std::string > | listReactionsForMetab (const CModel *model, const std::string &key) |
static void | writeLHS (std::ostream &out, const std::string &metabName, const std::string &compName, size_t l) |
static void | writeLHS_ModelValue (std::ostream &out, const std::string &valueName, size_t l) |
static void | writeRHS (std::ostream &out, const CMetab *pMetab, const CReaction *pReac, bool numbers, bool expand, bool expandFull, size_t l) |
static void | writeRHS_ModelEntity (std::ostream &out, const CModelEntity *pEntity, bool expandFull, size_t l) |
This class handles the output of the differential equations as presentation MathML
Definition at line 38 of file CMMLOutput.h.
CMMLOutput::CMMLOutput | ( | ) |
Definition at line 32 of file CMMLOutput.cpp.
|
staticprivate |
Definition at line 142 of file CMMLOutput.cpp.
References CMathMl::fixName(), CFunctionParameter::FLOAT64, CKeyFactory::get(), CReaction::getFunction(), CReaction::getFunctionParameters(), CCopasiRootContainer::getKeyFactory(), CCopasiObject::getObjectDisplayName(), CCopasiObject::getObjectName(), CReaction::getParameterMappings(), CReaction::getParameterValue(), CReaction::isLocalParameter(), CFunctionParameter::MODIFIER, CFunctionParameter::PARAMETER, CFunctionParameter::PRODUCT, CFunctionParameters::size(), CFunctionParameter::SUBSTRATE, CFunctionParameter::TIME, CFunctionParameter::VFLOAT64, and CFunctionParameter::VOLUME.
Referenced by writeRHS().
|
staticprivate |
Definition at line 512 of file CMMLOutput.cpp.
References CModel::getReactions(), and CCopasiVector< T >::size().
Referenced by writeDifferentialEquations().
|
static |
Definition at line 279 of file CMMLOutput.cpp.
References CModelEntity::ASSIGNMENT, CMathMl::fixName(), CKeyFactory::get(), CModel::getCompartments(), CCopasiObject::getKey(), CCopasiRootContainer::getKeyFactory(), CModel::getMetabolites(), CModel::getModelValues(), CCopasiObject::getObjectDisplayName(), CCopasiObject::getObjectName(), listReactionsForMetab(), CModelEntity::ODE, CModelEntity::REACTIONS, CCopasiVector< T >::size(), SPC, writeLHS(), writeLHS_ModelValue(), writeRHS(), and writeRHS_ModelEntity().
Referenced by CQDifferentialEquations::slotUpdateWidget().
|
staticprivate |
Definition at line 37 of file CMMLOutput.cpp.
References CMathMl::fixName(), and SPC.
Referenced by writeDifferentialEquations().
|
staticprivate |
Definition at line 242 of file CMMLOutput.cpp.
References CMathMl::fixName(), and SPC.
Referenced by writeDifferentialEquations().
|
staticprivate |
Definition at line 61 of file CMMLOutput.cpp.
References C_FLOAT64, createParameterMapping(), CMathMl::fixName(), CChemEq::getBalances(), CReaction::getChemEq(), CMetab::getCompartment(), CReaction::getCompartmentNumber(), CReaction::getFunction(), CModelEntity::getKey(), CCopasiObject::getObjectName(), CCopasiVector< T >::size(), SPC, and CFunction::writeMathML().
Referenced by writeDifferentialEquations().
|
staticprivate |
Definition at line 256 of file CMMLOutput.cpp.
References CModelEntity::getExpressionPtr(), SPC, and CExpression::writeMathML().
Referenced by writeDifferentialEquations().