COPASI API
4.40.278
|
#include <CData.h>
Public Member Functions | |
bool | addProperty (const Property &property, const CDataValue &value) |
bool | addProperty (const std::string &name, const CDataValue &value) |
bool | appendData (const CData &data) |
const_iterator | begin () const |
CData () | |
CData (const CData &src) | |
void | clear () |
bool | empty () const |
const_iterator | end () const |
CDataValue & | getProperty (const Property &property) |
const CDataValue & | getProperty (const Property &property) const |
CDataValue & | getProperty (const std::string &name) |
const CDataValue & | getProperty (const std::string &name) const |
std::string | hash () const |
bool | isSetProperty (const Property &property) const |
bool | isSetProperty (const std::string &name) const |
bool | operator!= (const CData &rhs) const |
CData & | operator= (const CData &rhs) |
bool | operator== (const CData &rhs) const |
bool | removeProperty (const Property &property) |
bool | removeProperty (const std::string &name) |
~CData () | |
Static Public Attributes | |
static const CEnumAnnotation< std::string, Property > | PropertyName |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CData &o) |
std::istream & | operator>> (std::istream &is, const CData &i) |
typedef std::map< std::string, CDataValue >::const_iterator CData::const_iterator |
typedef CDataValue::Type CData::Type |
enum CData::Property |
CData::CData | ( | ) |
CData::CData | ( | const CData & | src | ) |
CData::~CData | ( | ) |
bool CData::addProperty | ( | const Property & | property, |
const CDataValue & | value | ||
) |
References addProperty(), and PropertyName.
bool CData::addProperty | ( | const std::string & | name, |
const CDataValue & | value | ||
) |
References end().
Referenced by CUndoData::addMetaDataProperty(), addProperty(), CUndoData::addProperty(), CEvent::applyData(), CDataObject::applyData(), CReactionInterface::createUndoData(), CCompartment::createUndoData(), CEvent::createUndoData(), CModel::createUndoData(), CModelParameter::createUndoData(), CModelParameterSpecies::createUndoData(), CReaction::createUndoData(), CDataObject::createUndoData(), CUndoData::CUndoData(), CDataVector< CType >::toData(), CDataVectorN< CType >::toData(), CFunctionParameter::toData(), CBiologicalDescription::toData(), CCreator::toData(), CMIRIAMInfo::toData(), CModification::toData(), CReference::toData(), CAnnotation::toData(), CCompartment::toData(), CEventAssignment::toData(), CEvent::toData(), CModel::toData(), CModelParameter::toData(), CModelParameterSpecies::toData(), CModelParameterGroup::toData(), CModelValue::toData(), CReaction::toData(), CReportDefinition::toData(), CCopasiParameterGroup::toData(), CCopasiTask::toData(), CUnitDefinition::toData(), CArrayElementReference::toData(), CDataObject::toData(), CMetab::toData(), CModelEntity::toData(), and CCopasiParameter::toData().
bool CData::appendData | ( | const CData & | data | ) |
References begin(), and end().
Referenced by CUndoData::appendMetaData(), CFunction::toData(), CEvent::toData(), CModelParameterSet::toData(), CReaction::toData(), CUnitDefinition::toData(), and CModelEntity::toData().
CData::const_iterator CData::begin | ( | ) | const |
Referenced by appendData(), CUndoData::appendData(), CCopasiParameterGroup::createUndoData(), and CUndoData::CUndoData().
void CData::clear | ( | ) |
Referenced by CUndoData::clear().
bool CData::empty | ( | ) | const |
Referenced by CUndoData::getParent().
CData::const_iterator CData::end | ( | ) | const |
CDataValue & CData::getProperty | ( | const Property & | property | ) |
References getProperty(), and PropertyName.
const CDataValue & CData::getProperty | ( | const Property & | property | ) | const |
References getProperty(), and PropertyName.
CDataValue & CData::getProperty | ( | const std::string & | name | ) |
References end(), and CDataValue::INVALID.
const CDataValue & CData::getProperty | ( | const std::string & | name | ) | const |
References end(), and CDataValue::INVALID.
Referenced by CDataVector< CType >::applyData(), CDataVectorN< CType >::applyData(), CFunctionParameter::applyData(), CBiologicalDescription::applyData(), CCreator::applyData(), CMIRIAMInfo::applyData(), CModification::applyData(), CReference::applyData(), CAnnotation::applyData(), CCompartment::applyData(), CEventAssignment::applyData(), CEvent::applyData(), CModel::applyData(), CModelParameter::applyData(), CModelParameterGroup::applyData(), CModelValue::applyData(), CReaction::applyData(), CReportDefinition::applyData(), CCopasiParameterGroup::applyData(), CCopasiTask::applyData(), CUnitDefinition::applyData(), CArrayElementReference::applyData(), CDataObject::applyData(), CMetab::applyData(), CModelEntity::applyData(), CCopasiParameter::applyData(), CUndoData::change(), CReactionInterface::createUndoData(), CBiologicalDescription::createUndoData(), CCreator::createUndoData(), CMIRIAMInfo::createUndoData(), CModification::createUndoData(), CReference::createUndoData(), CAnnotation::createUndoData(), CCompartment::createUndoData(), CEventAssignment::createUndoData(), CEvent::createUndoData(), CModel::createUndoData(), CModelParameter::createUndoData(), CModelParameterSpecies::createUndoData(), CModelParameterGroup::createUndoData(), CModelValue::createUndoData(), CReaction::createUndoData(), CReportDefinition::createUndoData(), CCopasiParameterGroup::createUndoData(), CCopasiTask::createUndoData(), CUnitDefinition::createUndoData(), CDataObject::createUndoData(), CMetab::createUndoData(), CModelEntity::createUndoData(), CCopasiParameter::createUndoData(), CUndoData::CUndoData(), CCommonName::fromData(), CDataModel::fromData(), CArrayElementReference::fromData(), CDataContainer::fromData(), CDataObject::fromData(), CEvaluationTree::fromData(), CFunctionParameter::fromData(), CLayout::fromData(), CLMetabGlyph::fromData(), CLCompartmentGlyph::fromData(), CLTextGlyph::fromData(), CLGradientBase::fromData(), CLGraphicalObject::fromData(), CLReferenceGlyph::fromData(), CLMetabReferenceGlyph::fromData(), CLGeneralGlyph::fromData(), CLReactionGlyph::fromData(), CCreator::fromData(), CModification::fromData(), CReference::fromData(), CChemEqElement::fromData(), CCompartment::fromData(), CEventAssignment::fromData(), CEvent::fromData(), CMetab::fromData(), CMetabOld::fromData(), CModel::fromData(), CModelParameter::fromData(), CModelParameterSet::fromData(), CModelValue::fromData(), CMoiety::fromData(), CReaction::fromData(), CFittingPoint::fromData(), CPlotItem::fromData(), CPlotSpecification::fromData(), CReportDefinition::fromData(), CCopasiParameter::fromData(), CCopasiTask::fromData(), CSlider::fromData(), CUnitDefinition::fromData(), CUndoData::getMetaDataProperty(), CUndoData::getObject(), CUndoData::getObjectDisplayName(), CUndoData::getObjectType(), CUndoData::getParent(), getProperty(), CDataVector< CType >::insert(), CModelParameterGroup::insert(), CModelParameterSet::insert(), CCopasiParameterGroup::insert(), CUndoData::insert(), CUndoData::operator<(), CUndoData::remove(), CEvent::toData(), and CModelParameterSpecies::toData().
std::string CData::hash | ( | ) | const |
References Cmd5::digest().
Referenced by CBiologicalDescription::toData(), CCreator::toData(), CModification::toData(), and CReference::toData().
bool CData::isSetProperty | ( | const Property & | property | ) | const |
References isSetProperty(), and PropertyName.
bool CData::isSetProperty | ( | const std::string & | name | ) | const |
References end().
Referenced by CFunctionParameter::applyData(), CBiologicalDescription::applyData(), CCreator::applyData(), CMIRIAMInfo::applyData(), CModification::applyData(), CReference::applyData(), CAnnotation::applyData(), CCompartment::applyData(), CEventAssignment::applyData(), CEvent::applyData(), CModel::applyData(), CModelParameter::applyData(), CModelParameterGroup::applyData(), CModelValue::applyData(), CReaction::applyData(), CReportDefinition::applyData(), CCopasiParameterGroup::applyData(), CCopasiTask::applyData(), CUnitDefinition::applyData(), CArrayElementReference::applyData(), CDataObject::applyData(), CMetab::applyData(), CModelEntity::applyData(), CCopasiParameter::applyData(), CArrayElementReference::fromData(), CUndoData::getObject(), CDataVector< CType >::insert(), CUndoData::isSetMetaDataProperty(), isSetProperty(), and CUndoData::isSetProperty().
bool CData::operator!= | ( | const CData & | rhs | ) | const |
bool CData::operator== | ( | const CData & | rhs | ) | const |
bool CData::removeProperty | ( | const Property & | property | ) |
References PropertyName, and removeProperty().
bool CData::removeProperty | ( | const std::string & | name | ) |
|
friend |
|
friend |
|
static |