#include <CCompartment.h>
List of all members.
Constructor & Destructor Documentation
| CCompartment::CCompartment |
( |
const std::string & |
name = "NoName", |
|
|
const CCopasiContainer * |
pParent = NULL |
|
) |
| |
Default constructor.
- Parameters:
-
| const | std::string & name (default: "NoName") |
| const | CCopasiContainer * pParent (default: NULL) |
Copy constructor.
- Parameters:
-
| CCompartment::~CCompartment |
( |
| ) |
[virtual] |
Destructor. The destructor does nothing.
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:
-
- Returns:
- bool success
| void CCompartment::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:
-
- Returns:
- bool success
| std::string CCompartment::getChildObjectUnits |
( |
const CCopasiObject * |
pObject | ) |
const [virtual] |
Retrieve the units of the child object.
- Returns:
- std::string units
Reimplemented from CCopasiContainer.
| 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.
| unsigned C_INT32 CCompartment::getDimensionality |
( |
| ) |
const |
Get the dimensionality of the compartment
| C_INT32 CCompartment::load |
( |
CReadConfig & |
configbuffer | ) |
|
Loads an object with data coming from a CReadConfig object. (CReadConfig object reads an input stream)
- Parameters:
-
- Returns:
- mFail
- See also:
- mFail
| 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
Friends And Related Function Documentation
| std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CCompartment & |
d |
|
) |
| [friend] |
Friend declaration for ostream operator <<
- Parameters:
-
- Returns:
- std::ostream & os
Member Data Documentation
The dimensionality of the compartment. Can be 0, 1, 2, or 3
The documentation for this class was generated from the following files: