copasi API  0.1
Classes | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
CModelExpansion Class Reference

#include <CModelExpansion.h>

List of all members.

Classes

class  CompartmentInfo

Public Member Functions

 CModelExpansion (CModel *pModel)
void setModel (CModel *pModel)
void simpleCall (const CCompartment *source, std::vector< std::string > listOfMetabolites, int mult, bool diff)
CompartmentInfo copyCompartment (const CCompartment *source)

Protected Member Functions

bool copyCompartmentsExpressions (const CCompartment *source)
bool copyMetabolitesExpressions (const CCompartment *source)
bool copyModelValuesExpressions (std::string copyname)
bool copyEvents (std::string copyname)
std::string copyExpression (const CExpression *pExpression)
std::string testName (const std::string &mname)
void nameInSet (const std::string &mname)

Static Protected Member Functions

static bool reactionInvolvesCompartment (const CReaction *reac, const CCompartment *comp)

Protected Attributes

CompartmentInfo ci
CModelmpModel
std::set< std::string > NameSet
std::string name

Constructor & Destructor Documentation

CModelExpansion::CModelExpansion ( CModel pModel)

Member Function Documentation

CModelExpansion::CompartmentInfo CModelExpansion::copyCompartment ( const CCompartment source)
bool CModelExpansion::copyCompartmentsExpressions ( const CCompartment source) [protected]

handle non constant model entities

bool CModelExpansion::copyEvents ( std::string  copyname) [protected]
std::string CModelExpansion::copyExpression ( const CExpression pExpression) [protected]
bool CModelExpansion::copyMetabolitesExpressions ( const CCompartment source) [protected]
bool CModelExpansion::copyModelValuesExpressions ( std::string  copyname) [protected]
void CModelExpansion::nameInSet ( const std::string &  mname) [protected]
bool CModelExpansion::reactionInvolvesCompartment ( const CReaction reac,
const CCompartment comp 
) [static, protected]

determine whether the one of the substrate, products, or modifiers of the reaction is located in the given compartmen

void CModelExpansion::setModel ( CModel pModel)
void CModelExpansion::simpleCall ( const CCompartment source,
std::vector< std::string >  listOfMetabolites,
int  mult,
bool  diff 
)
std::string CModelExpansion::testName ( const std::string &  mname) [protected]

This method tests whether the given C 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


Member Data Documentation

std::string CModelExpansion::name [protected]
std::set<std::string> CModelExpansion::NameSet [protected]

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