COPASI API  4.16.103
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
CCompartment Class Reference

#include <CCompartment.h>

Inheritance diagram for CCompartment:
Inheritance graph
[legend]
Collaboration diagram for CCompartment:
Collaboration graph
[legend]

Public Member Functions

bool addMetabolite (CMetab *metabolite)
 
 CCompartment (const std::string &name="NoName", const CCopasiContainer *pParent=NULL)
 
 CCompartment (const CCompartment &src, const CCopasiContainer *pParent=NULL)
 
void cleanup ()
 
bool createMetabolite (const CMetab &metabolite)
 
virtual std::string getChildObjectUnits (const CCopasiObject *pObject) const
 
virtual std::set< const
CCopasiObject * > 
getDeletedObjects () const
 
unsigned C_INT32 getDimensionality () const
 
CCopasiVectorNS< CMetab > & getMetabolites ()
 
const CCopasiVectorNS< CMetab > & getMetabolites () const
 
C_INT32 load (CReadConfig &configbuffer)
 
bool setDimensionality (unsigned C_INT32 dim)
 
virtual ~CCompartment ()
 
- Public Member Functions inherited from CModelEntity
virtual void calculate ()
 
 CModelEntity (const std::string &name="NoName", const CCopasiContainer *pParent=NULL, const std::string &type="ModelEntity", const unsigned C_INT32 &flag=CCopasiObject::Container|CCopasiObject::ValueDbl)
 
 CModelEntity (const CModelEntity &src, const CCopasiContainer *pParent=NULL)
 
virtual bool compile ()
 
std::string getExpression () const
 
const CExpressiongetExpressionPtr () const
 
CExpressiongetExpressionPtr ()
 
std::string getInitialExpression () const
 
const CExpressiongetInitialExpressionPtr () const
 
CExpressiongetInitialExpressionPtr ()
 
const C_FLOAT64getInitialValue () const
 
CCopasiObjectgetInitialValueReference () const
 
virtual const std::string & getKey () const
 
const C_FLOAT64getRate () const
 
CCopasiObjectgetRateReference () const
 
const std::string & getSBMLId () const
 
const CModelEntity::StatusgetStatus () const
 
const C_FLOAT64getValue () const
 
virtual const CCopasiObjectgetValueObject () const
 
virtual voidgetValuePointer () const
 
CCopasiObjectgetValueReference () const
 
bool isFixed () const
 
const bool & isUsed () const
 
virtual bool mustBeDeleted (const DataObjectSet &deletedObjects) const
 
virtual void refreshInitialValue ()
 
bool setExpression (const std::string &expression)
 
bool setExpressionPtr (CExpression *pExpression)
 
bool setInitialExpression (const std::string &expression)
 
bool setInitialExpressionPtr (CExpression *pExpression)
 
virtual void setInitialValue (const C_FLOAT64 &initialValue)
 
void setInitialValuePtr (C_FLOAT64 *pInitialValue)
 
virtual bool setObjectParent (const CCopasiContainer *pParent)
 
void setRate (const C_FLOAT64 &rate)
 
void setSBMLId (const std::string &id)
 
virtual void setStatus (const CModelEntity::Status &status)
 
void setUsed (const bool &used)
 
virtual void setValue (const C_FLOAT64 &value)
 
void setValuePtr (C_FLOAT64 *pValue)
 
 ~CModelEntity ()
 
- Public Member Functions inherited from CCopasiContainer
virtual bool add (CCopasiObject *pObject, const bool &adopt=true)
 
 CCopasiContainer (const std::string &name, const CCopasiContainer *pParent=NULL, const std::string &type="CN", const unsigned C_INT32 &flag=CCopasiObject::Container)
 
 CCopasiContainer (const CCopasiContainer &src, const CCopasiContainer *pParent=NULL)
 
virtual const CObjectInterfacegetObject (const CCopasiObjectName &cn) const
 
virtual const objectMapgetObjects () const
 
virtual std::string getUnits () const
 
virtual bool remove (CCopasiObject *pObject)
 
virtual ~CCopasiContainer ()
 
- Public Member Functions inherited from CCopasiObject
void addDirectDependency (const CCopasiObject *pObject)
 
 CCopasiObject (const CCopasiObject &src, const CCopasiContainer *pParent=NULL)
 
void clearDirectDependencies ()
 
void clearRefresh ()
 
bool dependsOn (DataObjectSet candidates, const DataObjectSet &context=DataObjectSet()) const
 
void getAllDependencies (DataObjectSet &dependencies, const DataObjectSet &context) const
 
virtual CCopasiObjectName getCN () const
 
virtual const DataObjectSetgetDirectDependencies (const DataObjectSet &context=DataObjectSet()) const
 
CCopasiContainergetObjectAncestor (const std::string &type) const
 
CCopasiDataModelgetObjectDataModel ()
 
const CCopasiDataModelgetObjectDataModel () const
 
virtual std::string getObjectDisplayName (bool regular=true, bool richtext=false) const
 
const std::string & getObjectName () const
 
CCopasiContainergetObjectParent () const
 
const std::string & getObjectType () const
 
virtual const
CObjectInterface::ObjectSet
getPrerequisites () const
 
virtual RefreshgetRefresh () const
 
UpdateMethodgetUpdateMethod () const
 
bool hasCircularDependencies (DataObjectSet &candidates, DataObjectSet &verified, const DataObjectSet &context) const
 
bool hasUpdateMethod () const
 
bool isArray () const
 
bool isContainer () const
 
bool isDataModel () const
 
bool isMatrix () const
 
bool isNameVector () const
 
bool isNonUniqueName () const
 
virtual bool isPrerequisiteForContext (const CObjectInterface *pObject, const CMath::SimulationContextFlag &context, const CObjectInterface::ObjectSet &changedObjects) const
 
bool isReference () const
 
bool isRoot () const
 
bool isSeparator () const
 
bool isStaticString () const
 
bool isValueBool () const
 
bool isValueDbl () const
 
bool isValueInt () const
 
bool isValueInt64 () const
 
bool isValueString () const
 
bool isVector () const
 
virtual void print (std::ostream *ostream) const
 
void removeDirectDependency (const CCopasiObject *pObject)
 
void setDirectDependencies (const DataObjectSet &directDependencies)
 
bool setObjectName (const std::string &name)
 
void setObjectValue (const C_FLOAT64 &value)
 
void setObjectValue (const C_INT32 &value)
 
void setObjectValue (const bool &value)
 
template<class CType >
void setRefresh (CType *pType, void(CType::*method)(void))
 
template<class CType >
void setUpdateMethod (CType *pType, void(CType::*method)(const C_FLOAT64 &))
 
template<class CType >
void setUpdateMethod (CType *pType, void(CType::*method)(const C_INT32 &))
 
template<class CType >
void setUpdateMethod (CType *pType, void(CType::*method)(const bool &))
 
virtual ~CCopasiObject ()
 
- Public Member Functions inherited from CObjectInterface
 CObjectInterface ()
 
virtual ~CObjectInterface ()
 
- Public Member Functions inherited from CAnnotation
bool addUnsupportedAnnotation (const std::string &name, const std::string &xml)
 
 CAnnotation ()
 
 CAnnotation (const CAnnotation &src)
 
const std::string & getMiriamAnnotation () const
 
const std::string & getNotes () const
 
UnsupportedAnnotationgetUnsupportedAnnotations ()
 
const UnsupportedAnnotationgetUnsupportedAnnotations () const
 
bool operator== (const CAnnotation &rhs) const
 
bool removeUnsupportedAnnotation (const std::string &name)
 
bool replaceUnsupportedAnnotation (const std::string &name, const std::string &xml)
 
void setMiriamAnnotation (const std::string &miriamAnnotation, const std::string &newId, const std::string &oldId)
 
void setNotes (const std::string &notes)
 
virtual ~CAnnotation ()
 

Protected Attributes

unsigned C_INT32 mDimensionality
 
- Protected Attributes inherited from CModelEntity
CExpressionmpExpression
 
CExpressionmpInitialExpression
 
C_FLOAT64mpIValue
 
CCopasiObjectReference
< C_FLOAT64 > * 
mpIValueReference
 
CModelmpModel
 
CCopasiObjectReference
< C_FLOAT64 > * 
mpRateReference
 
C_FLOAT64mpValue
 
CCopasiObjectReference
< C_FLOAT64 > * 
mpValueReference
 
C_FLOAT64 mRate
 
std::string mSBMLId
 
- Protected Attributes inherited from CCopasiContainer
objectMap mObjects
 
- Protected Attributes inherited from CAnnotation
std::string mKey
 

Private Member Functions

void initObjects ()
 

Private Attributes

CCopasiVectorNS< CMetabmMetabolites
 

Friends

std::ostream & operator<< (std::ostream &os, const CCompartment &d)
 

Additional Inherited Members

- Public Types inherited from CModelEntity
enum  Status {
  FIXED = 0, ASSIGNMENT, REACTIONS, ODE,
  TIME
}
 
- Public Types inherited from CCopasiContainer
typedef std::multimap
< std::string, CCopasiObject * > 
objectMap
 
- Public Types inherited from CCopasiObject
typedef std::set< const
CCopasiObject * > 
DataObjectSet
 
typedef std::vector< Refresh * > DataUpdateSequence
 
- Public Types inherited from CObjectInterface
typedef std::set< const
CObjectInterface * > 
ObjectSet
 
typedef std::vector
< CObjectInterface * > 
UpdateSequence
 
- Public Types inherited from CAnnotation
typedef std::map< std::string,
std::string > 
UnsupportedAnnotation
 
- Static Public Member Functions inherited from CCopasiObject
static std::vector< Refresh * > buildUpdateSequence (const DataObjectSet &objects, const DataObjectSet &uptoDateObjects, const DataObjectSet &context=DataObjectSet())
 
static void setRenameHandler (CRenameHandler *rh)
 
- Static Public Member Functions inherited from CAnnotation
static CAnnotationcastObject (CCopasiObject *pObject)
 
static const CAnnotationcastObject (const CCopasiObject *pObject)
 
- Static Public Attributes inherited from CModelEntity
static const std::string StatusName []
 
static const char * XMLStatus []
 
- Static Public Attributes inherited from CCopasiContainer
static const std::vector
< CCopasiContainer * > 
EmptyList
 
- Protected Types inherited from CCopasiObject
enum  Flag {
  Container = 0x1, Vector = 0x2, Matrix = 0x4, NameVector = 0x8,
  Reference = 0x10, ValueBool = 0x20, ValueInt = 0x40, ValueInt64 = 0x80,
  ValueDbl = 0x100, NonUniqueName = 0x200, StaticString = 0x400, ValueString = 0x800,
  Separator = 0x1000, ModelEntity = 0x2000, Array = 0x4000, DataModel = 0x8000,
  Root = 0x10000, Gui = 0x20000
}
 
- Protected Member Functions inherited from CCopasiContainer
template<class CType >
CCopasiObjectaddMatrixReference (const std::string &name, CType &reference, const unsigned C_INT32 &flag=0)
 
template<class CType >
CCopasiObjectaddObjectReference (const std::string &name, CType &reference, const unsigned C_INT32 &flag=0)
 
template<class CType >
CCopasiObjectaddVectorReference (const std::string &name, CType &reference, const unsigned C_INT32 &flag=0)
 
void initObjects ()
 
- Protected Member Functions inherited from CCopasiObject
 CCopasiObject ()
 
 CCopasiObject (const std::string &name, const CCopasiContainer *pParent=NULL, const std::string &type="CN", const unsigned C_INT32 &flag=0)
 
- Static Protected Attributes inherited from CCopasiObject
static CRenameHandlersmpRenameHandler = NULL
 

Detailed Description

Definition at line 37 of file CCompartment.h.

Constructor & Destructor Documentation

CCompartment::CCompartment ( const std::string &  name = "NoName",
const CCopasiContainer pParent = NULL 
)

Default constructor.

Parameters
conststd::string & name (default: "NoName")
constCCopasiContainer * pParent (default: NULL)

Definition at line 36 of file CCompartment.cpp.

References CKeyFactory::add(), CONSTRUCTOR_TRACE, CModelEntity::FIXED, CCopasiRootContainer::getKeyFactory(), initObjects(), CAnnotation::mKey, CModelEntity::mpIValue, and CModelEntity::setStatus().

37  :
38  CModelEntity(name, pParent, "Compartment"),
39  mMetabolites("Metabolites", this),
41 {
42  initObjects();
43 
44  mKey = CCopasiRootContainer::getKeyFactory()->add("Compartment", this);
45 
47 
48  *mpIValue = 1.0;
49 
51 }
void initObjects()
C_FLOAT64 * mpIValue
Definition: CModelValue.h:326
std::string mKey
Definition: CAnnotation.h:119
CCopasiVectorNS< CMetab > mMetabolites
Definition: CCompartment.h:45
virtual void setStatus(const CModelEntity::Status &status)
std::string add(const std::string &prefix, CCopasiObject *pObject)
static CKeyFactory * getKeyFactory()
unsigned C_INT32 mDimensionality
Definition: CCompartment.h:155
CModelEntity(const std::string &name="NoName", const CCopasiContainer *pParent=NULL, const std::string &type="ModelEntity", const unsigned C_INT32 &flag=CCopasiObject::Container|CCopasiObject::ValueDbl)
Definition: CModelValue.cpp:62
#define CONSTRUCTOR_TRACE
Definition: copasi.h:202
CCompartment::CCompartment ( const CCompartment src,
const CCopasiContainer pParent = NULL 
)

Copy constructor.

Parameters
const CCompartment &src
constCCopasiContainer * pParent (default: NULL)

Definition at line 53 of file CCompartment.cpp.

References CKeyFactory::add(), CONSTRUCTOR_TRACE, CCopasiRootContainer::getKeyFactory(), initObjects(), and CAnnotation::mKey.

54  :
55  CModelEntity(src, pParent),
56  mMetabolites(src.mMetabolites, this),
58 {
59  mKey = CCopasiRootContainer::getKeyFactory()->add("Compartment", this);
61  initObjects();
62 }
void initObjects()
std::string mKey
Definition: CAnnotation.h:119
CCopasiVectorNS< CMetab > mMetabolites
Definition: CCompartment.h:45
std::string add(const std::string &prefix, CCopasiObject *pObject)
static CKeyFactory * getKeyFactory()
unsigned C_INT32 mDimensionality
Definition: CCompartment.h:155
CModelEntity(const std::string &name="NoName", const CCopasiContainer *pParent=NULL, const std::string &type="ModelEntity", const unsigned C_INT32 &flag=CCopasiObject::Container|CCopasiObject::ValueDbl)
Definition: CModelValue.cpp:62
#define CONSTRUCTOR_TRACE
Definition: copasi.h:202
CCompartment::~CCompartment ( )
virtual

Destructor. The destructor does nothing.

Definition at line 64 of file CCompartment.cpp.

References DESTRUCTOR_TRACE, CCopasiRootContainer::getKeyFactory(), CAnnotation::mKey, and CKeyFactory::remove().

65 {
68 }
bool remove(const std::string &key)
std::string mKey
Definition: CAnnotation.h:119
#define DESTRUCTOR_TRACE
Definition: copasi.h:206
static CKeyFactory * getKeyFactory()

Member Function Documentation

bool CCompartment::addMetabolite ( CMetab metabolite)

Adds a metabolite to the compartment. Only the concentration is taken from the metabolite, the number of particles is calculated according to the volume of the compartment

Parameters
CMetab* metabolite;
Returns
bool success

Definition at line 175 of file CCompartment.cpp.

References CCopasiVectorN< CType >::add(), CCopasiObject::getCN(), CCopasiObject::getObjectParent(), CRenameHandler::handle(), mMetabolites, and CCopasiObject::smpRenameHandler.

Referenced by createMetabolite(), CModelExpansion::replaceInMetab(), and CCopasiXMLParser::MetaboliteElement::start().

176 {
177  if (!pMetabolite) return false;
178 
179  std::string oldCN = pMetabolite->getCN();
180 
181  bool success = mMetabolites.add(pMetabolite, true);
182 
183  //if a metabolite is added to a compartment successfully the CN of
184  //the metabolite is changed. This needs to be handled similarly to a
185  //rename.
186  if (success && smpRenameHandler && getObjectParent())
187  {
188  std::string newCN = pMetabolite->getCN();
189  smpRenameHandler->handle(oldCN, newCN);
190  }
191 
192  return success;
193 }
virtual void handle(const std::string &oldCN, const std::string &newCN) const =0
static CRenameHandler * smpRenameHandler
virtual bool add(const CType &src)
CCopasiVectorNS< CMetab > mMetabolites
Definition: CCompartment.h:45
CCopasiContainer * getObjectParent() const
void CCompartment::cleanup ( )

Cleanup

Definition at line 123 of file CCompartment.cpp.

References CCopasiVector< T >::cleanup(), and mMetabolites.

CCopasiVectorNS< CMetab > mMetabolites
Definition: CCompartment.h:45
virtual void cleanup()
bool CCompartment::createMetabolite ( const CMetab metabolite)

Adds a metabolite to the compartment. Only the concentration is taken from the metabolite, the number of particles is calculated according to the volume of the compartment

Parameters
constCMetab & metabolite;
Returns
bool success

Definition at line 165 of file CCompartment.cpp.

References addMetabolite().

166 {
167  CMetab * pMetab = new CMetab(metabolite);
168 
169  if (addMetabolite(pMetab)) return true;
170 
171  delete pMetab;
172  return false;
173 }
bool addMetabolite(CMetab *metabolite)
Definition: CMetab.h:178
std::string CCompartment::getChildObjectUnits ( const CCopasiObject pObject) const
virtual

Retrieve the units of the child object.

Returns
std::string units

Reimplemented from CCopasiContainer.

Definition at line 71 of file CCompartment.cpp.

References CModel::getAreaUnitsDisplayString(), CModel::getLengthUnitsDisplayString(), CModel::getTimeUnitsDisplayString(), CModel::getVolumeUnitsDisplayString(), mDimensionality, CModelEntity::mpIValueReference, CModelEntity::mpModel, CModelEntity::mpRateReference, and CModelEntity::mpValueReference.

Referenced by CMetab::getChildObjectUnits(), and CModelParameter::getUnit().

72 {
73  if (mpModel == NULL) return "";
74 
75  if (pObject == mpValueReference ||
76  pObject == mpIValueReference)
77  {
78  switch (mDimensionality)
79  {
80  case 1:
82  break;
83 
84  case 2:
86  break;
87 
88  case 3:
90  break;
91 
92  default:
93  return "";
94  break;
95  }
96  }
97  else if (pObject == mpRateReference)
98  {
99  std::string Unit = getChildObjectUnits(mpValueReference);
100  std::string TimeUnit = mpModel->getTimeUnitsDisplayString();
101 
102  if (Unit == "")
103  {
104  if (TimeUnit == "")
105  {
106  return "";
107  }
108 
109  return "1/" + TimeUnit;
110  }
111 
112  if (TimeUnit == "")
113  {
114  return Unit;
115  }
116 
117  return Unit + "/" + TimeUnit;
118  }
119 
120  return "";
121 }
CCopasiObjectReference< C_FLOAT64 > * mpIValueReference
Definition: CModelValue.h:356
std::string getTimeUnitsDisplayString() const
Definition: CModel.cpp:4531
CCopasiObjectReference< C_FLOAT64 > * mpRateReference
Definition: CModelValue.h:358
virtual std::string getChildObjectUnits(const CCopasiObject *pObject) const
std::string getLengthUnitsDisplayString() const
Definition: CModel.cpp:4563
std::string getVolumeUnitsDisplayString() const
Definition: CModel.cpp:4547
CCopasiObjectReference< C_FLOAT64 > * mpValueReference
Definition: CModelValue.h:357
unsigned C_INT32 mDimensionality
Definition: CCompartment.h:155
std::string getAreaUnitsDisplayString() const
Definition: CModel.cpp:4555
CModel * mpModel
Definition: CModelValue.h:359
std::set< const CCopasiObject * > CCompartment::getDeletedObjects ( ) const
virtual

Retrieve the list of deleted numeric child objects;

Returns
std::set< const CCopasiObject * > deletedObjects

Reimplemented from CModelEntity.

Definition at line 125 of file CCompartment.cpp.

References CModelEntity::getDeletedObjects().

Referenced by CModel::appendDependentModelObjects(), CModel::removeCompartment(), CQCompartmentDM::removeRows(), and CQCompartment::slotBtnDelete().

126 {
127  std::set< const CCopasiObject * > Deleted = CModelEntity::getDeletedObjects();
128 
129  // We must not add the metabolites as CModel::appendDependentMetabolites does that.
130 
131  return Deleted;
132 }
virtual std::set< const CCopasiObject * > getDeletedObjects() const
unsigned C_INT32 CCompartment::getDimensionality ( ) const
CCopasiVectorNS< CMetab > & CCompartment::getMetabolites ( )
const CCopasiVectorNS< CMetab > & CCompartment::getMetabolites ( ) const

Retrieve the vector of contained metabolites

Returns
const CCopasiVectorNS < CMetab > & metabolites

Definition at line 160 of file CCompartment.cpp.

References mMetabolites.

161 {return mMetabolites;}
CCopasiVectorNS< CMetab > mMetabolites
Definition: CCompartment.h:45
void CCompartment::initObjects ( )
private

Initialize the contained CCopasiObjects

Definition at line 209 of file CCompartment.cpp.

References CModelEntity::mpIValueReference, CModelEntity::mpValueReference, and CCopasiObject::setObjectName().

Referenced by CCompartment().

210 {
211  mpIValueReference->setObjectName("InitialVolume");
212  mpValueReference->setObjectName("Volume");
213 }
CCopasiObjectReference< C_FLOAT64 > * mpIValueReference
Definition: CModelValue.h:356
CCopasiObjectReference< C_FLOAT64 > * mpValueReference
Definition: CModelValue.h:357
bool setObjectName(const std::string &name)
C_INT32 CCompartment::load ( CReadConfig configbuffer)

Loads an object with data coming from a CReadConfig object. (CReadConfig object reads an input stream)

Parameters
pconfigbufferreference to a CReadConfig object.
Returns
mFail
See Also
mFail

Definition at line 134 of file CCompartment.cpp.

References C_FLOAT64, C_INT32, CReadConfig::getVariable(), CReadConfig::SEARCH, CModelEntity::setInitialValue(), and CCopasiObject::setObjectName().

135 {
136  C_INT32 Fail = 0;
137  std::string tmp;
138 
139  if ((Fail = configbuffer.getVariable("Compartment", "string",
140  (void *) & tmp,
142  return Fail;
143 
144  setObjectName(tmp);
145 
146  C_FLOAT64 tmpdbl;
147 
148  if ((Fail = configbuffer.getVariable("Volume", "C_FLOAT64",
149  (void *) & tmpdbl)))
150  return Fail;
151 
152  setInitialValue(tmpdbl);
153 
154  return Fail;
155 }
#define C_INT32
Definition: copasi.h:90
#define C_FLOAT64
Definition: copasi.h:92
virtual void setInitialValue(const C_FLOAT64 &initialValue)
C_INT32 getVariable(const std::string &name, const std::string &type, void *pout, CReadConfig::Mode mode=CReadConfig::NEXT)
Definition: CReadConfig.cpp:81
bool setObjectName(const std::string &name)
bool CCompartment::setDimensionality ( unsigned C_INT32  dim)

Set the dimensionality of the compartment. May be 0, 1, 2, or 3. If the value is not valid it will be ignored and the return value will be false

Definition at line 195 of file CCompartment.cpp.

References mDimensionality.

Referenced by CModelAdd::addCompartments(), SBMLImporter::createCCompartmentFromCompartment(), CModelExpansion::duplicateCompartment(), and CQCompartment::save().

196 {
197  if (dim > 3)
198  return false;
199 
200  mDimensionality = dim;
201  return true;
202 }
unsigned C_INT32 mDimensionality
Definition: CCompartment.h:155

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const CCompartment d 
)
friend

Friend declaration for ostream operator <<

Parameters
std::ostream& os
constCCompartment & d
Returns
std::ostream & os

Definition at line 215 of file CCompartment.cpp.

216 {
217  os << "++++CCompartment: " << d.getObjectName() << " mValue " << *d.mpValue;
218  os << " CCompartment.mMetabolites " << std::endl << d.mMetabolites;
219  os << "----CCompartment " << std::endl;
220 
221  return os;
222 }
const std::string & getObjectName() const
C_FLOAT64 * mpValue
Definition: CModelValue.h:321
CCopasiVectorNS< CMetab > mMetabolites
Definition: CCompartment.h:45

Member Data Documentation

unsigned C_INT32 CCompartment::mDimensionality
protected

The dimensionality of the compartment. Can be 0, 1, 2, or 3

Definition at line 155 of file CCompartment.h.

Referenced by getChildObjectUnits(), getDimensionality(), and setDimensionality().

CCopasiVectorNS< CMetab > CCompartment::mMetabolites
private

Metabolites located in the compartment. 0..* <{CMetab}>

Definition at line 45 of file CCompartment.h.

Referenced by addMetabolite(), cleanup(), getMetabolites(), and operator<<().


The documentation for this class was generated from the following files: