COPASI API  4.40.278
CMIRIAMResourceObject Class Reference

#include <CConstants.h>

Public Member Functions

 CMIRIAMResourceObject (const CMIRIAMResourceObject &src)
 
 CMIRIAMResourceObject (const std::string &displayName, const std::string &id)
 
 CMIRIAMResourceObject (CRDFNode *pNode)
 
std::string getDisplayName () const
 
const std::string & getId () const
 
std::string getIdentifiersOrgURL () const
 
CRDFNodegetNode () const
 
size_t getResource (const std::string &URI)
 
std::string getURI () const
 
bool isValid () const
 
bool isValid (const std::string &URI) const
 
bool setDisplayName (const std::string &displayName)
 
bool setId (const std::string &id)
 
bool setNode (CRDFNode *pNode)
 
bool setURI (const std::string &URI)
 
virtual ~CMIRIAMResourceObject ()
 

Static Public Member Functions

static const CMIRIAMResourcesgetResourceList ()
 
static void setMIRIAMResources (const CMIRIAMResources *pResources)
 

Private Member Functions

 CMIRIAMResourceObject ()
 
void extractId (const std::string &URI)
 

Static Private Member Functions

static std::string trimId (const std::string &id)
 
static void unescapeId (std::string &id)
 

Private Attributes

std::string mId
 
CRDFNodempNode
 
size_t mResource
 

Static Private Attributes

static const CMIRIAMResourcesmpResources = NULL
 

Constructor & Destructor Documentation

◆ CMIRIAMResourceObject() [1/4]

CMIRIAMResourceObject::CMIRIAMResourceObject ( )
private

◆ CMIRIAMResourceObject() [2/4]

CMIRIAMResourceObject::CMIRIAMResourceObject ( CRDFNode pNode)

◆ CMIRIAMResourceObject() [3/4]

CMIRIAMResourceObject::CMIRIAMResourceObject ( const std::string &  displayName,
const std::string &  id 
)

References mId, and setDisplayName().

◆ CMIRIAMResourceObject() [4/4]

CMIRIAMResourceObject::CMIRIAMResourceObject ( const CMIRIAMResourceObject src)

◆ ~CMIRIAMResourceObject()

CMIRIAMResourceObject::~CMIRIAMResourceObject ( )
virtual

Destructor

Member Function Documentation

◆ extractId()

void CMIRIAMResourceObject::extractId ( const std::string &  URI)
private

◆ getDisplayName()

std::string CMIRIAMResourceObject::getDisplayName ( ) const

◆ getId()

const std::string & CMIRIAMResourceObject::getId ( ) const

References mId.

Referenced by CBiologicalDescription::getId(), and CReference::getId().

◆ getIdentifiersOrgURL()

std::string CMIRIAMResourceObject::getIdentifiersOrgURL ( ) const

◆ getNode()

CRDFNode * CMIRIAMResourceObject::getNode ( ) const

References mpNode.

Referenced by CRDFNode::setFieldValue().

◆ getResource()

size_t CMIRIAMResourceObject::getResource ( const std::string &  URI)

◆ getResourceList()

const CMIRIAMResources & CMIRIAMResourceObject::getResourceList ( )
static

References mpResources.

◆ getURI()

◆ isValid() [1/2]

◆ isValid() [2/2]

bool CMIRIAMResourceObject::isValid ( const std::string &  URI) const

◆ setDisplayName()

bool CMIRIAMResourceObject::setDisplayName ( const std::string &  displayName)

◆ setId()

bool CMIRIAMResourceObject::setId ( const std::string &  id)

◆ setMIRIAMResources()

void CMIRIAMResourceObject::setMIRIAMResources ( const CMIRIAMResources pResources)
static

◆ setNode()

bool CMIRIAMResourceObject::setNode ( CRDFNode pNode)

◆ setURI()

bool CMIRIAMResourceObject::setURI ( const std::string &  URI)

◆ trimId()

std::string CMIRIAMResourceObject::trimId ( const std::string &  id)
staticprivate

Referenced by setId().

◆ unescapeId()

void CMIRIAMResourceObject::unescapeId ( std::string &  id)
staticprivate

References CCopasiXMLInterface::utf8().

Referenced by extractId().

Member Data Documentation

◆ mId

std::string CMIRIAMResourceObject::mId
private

◆ mpNode

CRDFNode* CMIRIAMResourceObject::mpNode
private

◆ mpResources

const CMIRIAMResources * CMIRIAMResourceObject::mpResources = NULL
staticprivate

◆ mResource

size_t CMIRIAMResourceObject::mResource
private

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