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

#include <CModelMerging.h>

List of all members.

Public Member Functions

 CModelAdd (CModel *pModel, CModel *mModel)
void setModel (CModel *pModel, CModel *mModel)
void simpleCall ()
 just a simple method to call during development

Protected Member Functions

bool addCompartments (std::string name)
bool addMetabolites (std::string name)
bool addModelValues (std::string name)
bool addCompartmentsExpressions ()
bool addMetabolitesExpressions ()
bool addModelValuesExpressions ()
bool addReactions (std::string name)
bool addEvents (std::string name)
bool copyEventAssignmentExpression (const CEventAssignment *sourceAssignment, CEventAssignment *newAssignment)
bool copyDelayExpression (const CEvent *sourceEvent, CEvent *newEvent)
bool copyTriggerExpression (const CEvent *sourceEvent, CEvent *newEvent)
bool copyExpression (const CModelEntity *sourceEntity, CModelEntity *newEntity)
bool copyInitialExpression (const CModelEntity *sourceEntity, CModelEntity *newEntity)

Static Protected Member Functions

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

Protected Attributes

std::map< std::string,
std::string > 
keyMap
std::map< std::string,
std::string > 
nameMap
CModelmpModel
CModelmmModel

Constructor & Destructor Documentation

CModelAdd::CModelAdd ( CModel pModel,
CModel mModel 
)

Member Function Documentation

bool CModelAdd::addCompartments ( std::string  name) [protected]
bool CModelAdd::addCompartmentsExpressions ( ) [protected]
bool CModelAdd::addEvents ( std::string  name) [protected]
bool CModelAdd::addMetabolites ( std::string  name) [protected]
bool CModelAdd::addMetabolitesExpressions ( ) [protected]
bool CModelAdd::addModelValues ( std::string  name) [protected]
bool CModelAdd::addModelValuesExpressions ( ) [protected]
bool CModelAdd::addReactions ( std::string  name) [protected]
bool CModelAdd::copyDelayExpression ( const CEvent sourceEvent,
CEvent newEvent 
) [protected]
bool CModelAdd::copyEventAssignmentExpression ( const CEventAssignment sourceAssignment,
CEventAssignment newAssignment 
) [protected]
bool CModelAdd::copyExpression ( const CModelEntity sourceEntity,
CModelEntity newEntity 
) [protected]
bool CModelAdd::copyInitialExpression ( const CModelEntity sourceEntity,
CModelEntity newEntity 
) [protected]
bool CModelAdd::copyTriggerExpression ( const CEvent sourceEvent,
CEvent newEvent 
) [protected]
bool CModelAdd::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 compartment

void CModelAdd::setModel ( CModel pModel,
CModel mModel 
)
void CModelAdd::simpleCall ( )

just a simple method to call during development


Member Data Documentation

std::map<std::string, std::string> CModelAdd::keyMap [protected]
CModel* CModelAdd::mmModel [protected]
CModel* CModelAdd::mpModel [protected]
std::map<std::string, std::string> CModelAdd::nameMap [protected]

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