COPASI API
4.16.103
|
#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 CCopasiObject *x) |
void | addReaction (const CReaction *x) |
bool | contains (const CCopasiObject *x) const |
bool | contains (const std::string &key) const |
void | fillComplete (const CModel *pModel) |
void | fillDependencies (const CModel *pModel) |
Public Attributes | |
std::set< const CCompartment * > | mCompartments |
std::set< const CEvent * > | mEvents |
std::set< const CModelValue * > | mGlobalQuantities |
std::set< const CMetab * > | mMetabs |
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.
Definition at line 50 of file CModelExpansion.h.
void CModelExpansion::SetOfModelElements::addCompartment | ( | const CCompartment * | x | ) |
Definition at line 21 of file CModelExpansion.cpp.
References mCompartments.
Referenced by CQSpeciesDetail::copy(), ReactionsWidget1::copy(), CModelExpansion::simpleCall(), and CQExpandModelData::slotOK().
Definition at line 41 of file CModelExpansion.cpp.
void CModelExpansion::SetOfModelElements::addGlobalQuantity | ( | const CModelValue * | x | ) |
Definition at line 36 of file CModelExpansion.cpp.
Definition at line 26 of file CModelExpansion.cpp.
Referenced by CQSpeciesDetail::copy(), CQCompartment::copy(), and ReactionsWidget1::copy().
bool CModelExpansion::SetOfModelElements::addObject | ( | const CCopasiObject * | x | ) |
Definition at line 46 of file CModelExpansion.cpp.
Referenced by CQCompartment::copy(), and CModelExpansion::existDependentEntities().
Definition at line 31 of file CModelExpansion.cpp.
Referenced by CQCompartment::copy(), and ReactionsWidget1::copy().
bool CModelExpansion::SetOfModelElements::contains | ( | const CCopasiObject * | x | ) | const |
Checks whether an object is present in this set
Definition at line 81 of file CModelExpansion.cpp.
Referenced by CModelExpansion::duplicateEvent(), CModelExpansion::duplicateMetab(), CModelExpansion::duplicateReaction(), CModelExpansion::expressionContainsObject(), and CModelExpansion::updateExpression().
bool CModelExpansion::SetOfModelElements::contains | ( | const std::string & | key | ) | const |
Definition at line 101 of file CModelExpansion.cpp.
References CKeyFactory::get(), and CCopasiRootContainer::getKeyFactory().
enters all the objects from pModel
Definition at line 184 of file CModelExpansion.cpp.
References CModel::getCompartments(), CModel::getEvents(), CModel::getMetabolites(), CModel::getModelValues(), CModel::getReactions(), and CCopasiVector< T >::size().
Referenced by CModelExpansion::copyCompleteModel().
Determines which other object have to be duplicated based on those already present.
Definition at line 111 of file CModelExpansion.cpp.
References CModel::appendDependentModelObjects().
Referenced by CQCompartment::copy(), CModelExpansion::existDependentEntities(), CModelExpansion::simpleCall(), and CQExpandModelData::slotOK().
std::set<const CCompartment*> CModelExpansion::SetOfModelElements::mCompartments |
Definition at line 80 of file CModelExpansion.h.
Referenced by addCompartment(), CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CEvent*> CModelExpansion::SetOfModelElements::mEvents |
Definition at line 84 of file CModelExpansion.h.
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CModelValue*> CModelExpansion::SetOfModelElements::mGlobalQuantities |
Definition at line 83 of file CModelExpansion.h.
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CMetab*> CModelExpansion::SetOfModelElements::mMetabs |
Definition at line 81 of file CModelExpansion.h.
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().
std::set<const CReaction*> CModelExpansion::SetOfModelElements::mReactions |
Definition at line 82 of file CModelExpansion.h.
Referenced by CModelExpansion::duplicate(), and CModelExpansion::existDependentEntities().