71 mpValueReference(NULL)
81 mpValueReference(NULL)
93 ((type == DOUBLE || type == UDOUBLE) ?
CCopasiObject::ValueDbl :
95 ((type == STRING || type == CN || type == KEY || type == FILE || type == EXPRESSION) ?
CCopasiObject::ValueString :
101 mpValueReference(NULL)
104 value.
pVOID =
const_cast<void *
>(pValue);
221 *static_cast<const CCopasiParameterGroup *>(&rhs);
264 value < 0.0))
return false;
399 *static_cast<const CCopasiParameterGroup *>(&rhs);
417 if (pObjectParent != NULL &&
418 (pGroup = dynamic_cast< CCopasiParameterGroup * >(pObjectParent)) != NULL)
466 mSize =
sizeof(bool);
480 mSize =
sizeof(std::string);
497 mSize =
sizeof(std::vector< CCopasiParameter * >);
575 if (pObjectParent != NULL &&
576 (pGroup = dynamic_cast< CCopasiParameterGroup * >(pObjectParent)) != NULL)
580 if (DisplayName.length() >= 2 &&
581 (DisplayName.substr(DisplayName.length() - 2) ==
"[]"))
587 if ((DisplayName.length() != 0) && (DisplayName[DisplayName.length() - 1] !=
'.'))
CCopasiContainer * getObjectAncestor(const std::string &type) const
bool remove(const std::string &key)
std::string getUniqueParameterName(const CCopasiParameter *pParameter) const
virtual std::string getObjectDisplayName(bool regular=true, bool richtext=false) const
bool setValue(const CType &value)
static const std::string TypeName[]
bool isValidValue(const C_FLOAT64 &value) const
virtual CCopasiObjectName getCN() const
const std::string & getObjectName() const
CCopasiParameter::Type mType
CCopasiParameter & operator=(const CCopasiParameter &rhs)
CCopasiObject * mpValueReference
virtual ~CCopasiParameter()
std::vector< CCopasiParameter * > * pGROUP
CCopasiObject * getValueReference() const
bool operator==(const CCopasiParameter &lhs, const CCopasiParameter &rhs)
virtual void * getValuePointer() const
const std::string & getObjectType() const
static bool isValidKey(const std::string &key, const std::string &prefix="")
static std::string escape(const std::string &name)
CRegisteredObjectName * pCN
const CCopasiParameter::Type & getType() const
std::vector< CCopasiParameter * > parameterGroup
std::ostream & operator<<(std::ostream &os, const CCopasiParameter &o)
virtual const std::string & getKey() const
const Value & getValue() const
virtual void print(std::ostream *ostream) const
Value createValue(const Value &value)
virtual std::string getObjectDisplayName(bool regular=true, bool richtext=false) const
virtual CCopasiObjectName getCN() const
static CKeyFactory * getKeyFactory()
static const char * XMLType[]
static const CCopasiContainer * getRoot()
bool setObjectName(const std::string &name)
CCopasiObject * addObjectReference(const std::string &name, CType &reference, const unsigned C_INT32 &flag=0)
CCopasiContainer * getObjectParent() const