copasi API  0.1
Public Member Functions | Public Attributes
CODEExporterBM Class Reference

#include <CODEExporterBM.h>

Inheritance diagram for CODEExporterBM:
CODEExporter

List of all members.

Public Member Functions

 CODEExporterBM ()
virtual bool exportTitleData (const CCopasiDataModel *pDataModel, std::ofstream &outFile)
virtual void setReservedNames ()
virtual std::string translateTimeVariableName ()
std::string setODEName (const std::string &objName)
std::string setConcentrationName (const std::string &objName)
virtual std::string translateObjectName (const std::string &realName)
std::string testName (const std::string &name)
virtual bool exportSingleObject (std::ostringstream &which, std::string &name, std::string &expression, std::string &comments)
virtual bool exportSingleMetabolite (const CMetab *metab, std::string &expression, std::string &comments)
virtual bool exportSingleCompartment (const CCompartment *comp, std::string &expression, std::string &comments)
virtual bool exportSingleModVal (const CModelValue *modval, std::string &expression, std::string &comments)
virtual bool exportSingleModelEntity (const CModelEntity *tmp, std::string &expression, std::string &comments)
virtual bool exportSingleParameter (const CCopasiParameter *param, std::string &expression, std::string &comments)
virtual bool exportSingleODE (const CModelEntity *mentity, std::string &equation, std::string &comments)
bool exportSingleFunction (const CFunction *func, std::set< std::string > &isExported)
virtual std::string KineticFunction2ODEmember (const CReaction *reac)
virtual std::string getDisplayFunctionString (CFunction *func)
virtual std::string getDisplayExpressionString (CExpression *tmp)
virtual std::string exportTitleString (const unsigned C_INT32 tmp)

Public Attributes

std::map< std::string,
unsigned C_INT32 > 
Frequancy
std::set< std::string > NameSet

Constructor & Destructor Documentation

CODEExporterBM::CODEExporterBM ( )

Constructor for the exporter.


Member Function Documentation

bool CODEExporterBM::exportSingleCompartment ( const CCompartment comp,
std::string &  expression,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportSingleFunction ( const CFunction func,
std::set< std::string > &  isExported 
)
bool CODEExporterBM::exportSingleMetabolite ( const CMetab metab,
std::string &  expression,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportSingleModelEntity ( const CModelEntity tmp,
std::string &  expression,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportSingleModVal ( const CModelValue modval,
std::string &  expression,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportSingleObject ( std::ostringstream &  which,
std::string &  name,
std::string &  expression,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportSingleODE ( const CModelEntity mentity,
std::string &  equation,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportSingleParameter ( const CCopasiParameter param,
std::string &  expression,
std::string &  comments 
) [virtual]

Reimplemented from CODEExporter.

bool CODEExporterBM::exportTitleData ( const CCopasiDataModel pDataModel,
std::ofstream &  outFile 
) [virtual]
std::string CODEExporterBM::exportTitleString ( const unsigned C_INT32  tmp) [virtual]

Reimplemented from CODEExporter.

std::string CODEExporterBM::getDisplayExpressionString ( CExpression tmp) [virtual]

Reimplemented from CODEExporter.

std::string CODEExporterBM::getDisplayFunctionString ( CFunction func) [virtual]

Reimplemented from CODEExporter.

std::string CODEExporterBM::KineticFunction2ODEmember ( const CReaction reac) [virtual]

Reimplemented from CODEExporter.

std::string CODEExporterBM::setConcentrationName ( const std::string &  objName) [virtual]

Reimplemented from CODEExporter.

std::string CODEExporterBM::setODEName ( const std::string &  objName) [virtual]

Reimplemented from CODEExporter.

void CODEExporterBM::setReservedNames ( ) [virtual]

Reimplemented from CODEExporter.

std::string CODEExporterBM::testName ( const std::string &  name)

This method tests whether the given Berkeley Madonna name already assigned, put the new name (in cappital letters: all names can be upper or lower case) in the set of assigned names or modify the name

std::string CODEExporterBM::translateObjectName ( const std::string &  realName) [virtual]

This method adapt a Copasi name for Berkeley Madonna syntax: Names can not start with a number. Any other combination of letters and numbers is valid as is the underscore.

Reimplemented from CODEExporter.

std::string CODEExporterBM::translateTimeVariableName ( ) [virtual]

Reimplemented from CODEExporter.


Member Data Documentation

std::map< std::string, unsigned C_INT32 > CODEExporterBM::Frequancy
std::set<std::string> CODEExporterBM::NameSet

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