COPASI API
4.16.103
|
#include <CModelParameter.h>
Private Member Functions | |
friend | CModelParameterCompartment::~CModelParameterCompartment () |
CCopasiObjectName | getCompartmentCN () const |
Private Attributes | |
CRegisteredObjectName | mCompartmentCN |
C_FLOAT64 | mConcentration |
CModelParameterCompartment * | mpCompartment |
Additional Inherited Members | |
![]() | |
enum | CompareResult { Obsolete, Missing, Modified, Conflict, Identical } |
enum | Framework { Concentration = 0, ParticleNumbers } |
enum | Type { Model, Compartment, Species, ModelValue, ReactionParameter, Reaction, Group, Set, unknown } |
![]() | |
static const char * | TypeNames [] |
![]() | |
static std::string | nameFromCN (const CCopasiObjectName &cn) |
![]() | |
CRegisteredObjectName | mCN |
CompareResult | mCompareResult |
bool | mIsInitialExpressionValid |
CExpression * | mpInitialExpression |
CCopasiObject * | mpObject |
CModelParameterGroup * | mpParent |
CModelEntity::Status | mSimulationType |
Type | mType |
double | mValue |
Definition at line 353 of file CModelParameter.h.
|
private |
CModelParameterSpecies::CModelParameterSpecies | ( | CModelParameterGroup * | pParent, |
const CModelParameter::Type & | type = CModelParameter::Species |
||
) |
Constructor
Definition at line 737 of file CModelParameter.cpp.
CModelParameterSpecies::CModelParameterSpecies | ( | const CModelParameterSpecies & | src, |
CModelParameterGroup * | pParent | ||
) |
Copy constructor
Definition at line 744 of file CModelParameter.cpp.
|
virtual |
Destructor
Definition at line 752 of file CModelParameter.cpp.
References mpCompartment, and CModelParameterCompartment::removeSpecies().
|
virtual |
Compile the parameter
Reimplemented from CModelParameter.
Definition at line 774 of file CModelParameter.cpp.
References CModelParameterCompartment::addSpecies(), CModelParameter::compile(), CModelParameterGroup::getModelParameter(), CModelParameter::getSet(), mCompartmentCN, mpCompartment, CModelParameter::mValue, CModelParameter::ParticleNumbers, and setValue().
|
private |
Retrieve the CN of the compartment the species is contained in.
Definition at line 857 of file CModelParameter.cpp.
References mCompartmentCN.
|
virtual |
Retrieve the name.
Reimplemented from CModelParameter.
Definition at line 761 of file CModelParameter.cpp.
References CMetabNameInterface::getDisplayName(), CModelParameterSet::getModel(), CModelParameter::getSet(), CModelParameter::mCN, mCompartmentCN, CModelParameter::mpObject, and CModelParameter::nameFromCN().
Retrieve the value of the parameter based on the current framework
const | Framework & framework |
Reimplemented from CModelParameter.
Definition at line 847 of file CModelParameter.cpp.
References CModelParameter::Concentration, mConcentration, and CModelParameter::mValue.
|
virtual |
Set the CN of the object represented by the parameter
const | CCopasiObjectName & cn |
Reimplemented from CModelParameter.
Definition at line 790 of file CModelParameter.cpp.
References CCopasiObjectName::getPrimary(), CCopasiObjectName::getRemainder(), CModelParameter::mCN, mCompartmentCN, and CModelParameter::setCN().
|
virtual |
Set the value of the parameter based on the current framework
const | double & value |
const | Framework & framework |
Definition at line 814 of file CModelParameter.cpp.
References CModelParameter::Concentration, CModelParameter::getModel(), CModel::getNumber2QuantityFactor(), CModel::getQuantity2NumberFactor(), CModelParameter::getValue(), mConcentration, mpCompartment, CModelParameter::mValue, and CModelParameter::ParticleNumbers.
Referenced by compile().
|
private |
The CN of the compartment the species is contained in.
Definition at line 415 of file CModelParameter.h.
Referenced by compile(), getCompartmentCN(), getName(), and setCN().
|
private |
The concentration value of the species.
Definition at line 425 of file CModelParameter.h.
Referenced by getValue(), and setValue().
|
private |
A pointer to the parameter representing the compartment the species is contained in.
Definition at line 420 of file CModelParameter.h.
Referenced by compile(), setValue(), and ~CModelParameterSpecies().