COPASI API
4.40.278
|
#include <CModelExpansion.h>
Public Member Functions | |
void | addCompartment (const CCompartment *x) |
void | addEvent (const CEvent *x) |
void | addGlobalQuantity (const CModelValue *x) |
void | addMetab (const CMetab *x) |
bool | addObject (const CDataObject *x) |
void | addReaction (const CReaction *x) |
bool | contains (const CDataObject *x) const |
bool | contains (const std::string &key) const |
void | fillComplete (const CModel *pModel) |
void | fillDependencies (const CModel *pModel) |
void | setModel (const CModel *x) |
Public Attributes | |
std::set< const CCompartment * > | mCompartments |
std::set< const CEvent * > | mEvents |
std::set< const CModelValue * > | mGlobalQuantities |
std::set< const CMetab * > | mMetabs |
const CModel * | mpModel {NULL} |
std::set< const CReaction * > | mReactions |
This class describes a set of model elements that are supposed to be duplicated. The second element in each of the pairs is used temporarily to hold the copy.
void CModelExpansion::SetOfModelElements::addCompartment | ( | const CCompartment * | x | ) |
References mCompartments.
Referenced by CModelExpansion::simpleCall().
void CModelExpansion::SetOfModelElements::addEvent | ( | const CEvent * | x | ) |
void CModelExpansion::SetOfModelElements::addGlobalQuantity | ( | const CModelValue * | x | ) |
void CModelExpansion::SetOfModelElements::addMetab | ( | const CMetab * | x | ) |
bool CModelExpansion::SetOfModelElements::addObject | ( | const CDataObject * | x | ) |
References CModelExpansion::setModel().
Referenced by CModelExpansion::existDependentEntities().
void CModelExpansion::SetOfModelElements::addReaction | ( | const CReaction * | x | ) |
bool CModelExpansion::SetOfModelElements::contains | ( | const CDataObject * | x | ) | const |
Checks whether an object is present in this set
References CModelExpansion::mpModel.
Referenced by CModelExpansion::duplicateEvent(), CModelExpansion::duplicateMetab(), CModelExpansion::duplicateReaction(), CModelExpansion::expressionContainsObject(), and CModelExpansion::updateExpression().
bool CModelExpansion::SetOfModelElements::contains | ( | const std::string & | key | ) | const |
References CKeyFactory::get(), and CRootContainer::getKeyFactory().
void CModelExpansion::SetOfModelElements::fillComplete | ( | const CModel * | pModel | ) |
enters all the objects from pModel
References CModel::getCompartments(), CModel::getEvents(), CModel::getMetabolites(), CModel::getModelValues(), CModel::getReactions(), and CModelExpansion::setModel().
Referenced by CModelExpansion::copyCompleteModel().
void CModelExpansion::SetOfModelElements::fillDependencies | ( | const CModel * | pModel | ) |
Determines which other object have to be duplicated based on those already present.
References CModel::appendAllDependents(), CDataContainer::getDescendants(), and CModelExpansion::mpModel.
Referenced by CModelExpansion::existDependentEntities(), and CModelExpansion::simpleCall().
void CModelExpansion::SetOfModelElements::setModel | ( | const CModel * | x | ) |
References CModelExpansion::mpModel.
std::set<const CCompartment*> CModelExpansion::SetOfModelElements::mCompartments |
Referenced by addCompartment(), CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CEvent*> CModelExpansion::SetOfModelElements::mEvents |
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CModelValue*> CModelExpansion::SetOfModelElements::mGlobalQuantities |
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CMetab*> CModelExpansion::SetOfModelElements::mMetabs |
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
const CModel* CModelExpansion::SetOfModelElements::mpModel {NULL} |
std::set<const CReaction*> CModelExpansion::SetOfModelElements::mReactions |
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().