copasi API
0.1
|
#include <CReference.h>
Public Member Functions | |
CReference (const std::string &objectName, const CCopasiContainer *pParent=NULL) | |
CReference (const CRDFTriplet &triplet, const std::string &objectName="", const CCopasiContainer *pParent=NULL) | |
CReference (const CReference &src, const CCopasiContainer *pParent=NULL) | |
~CReference () | |
const CRDFTriplet & | getTriplet () const |
virtual const std::string & | getKey () const |
std::string | getResource () const |
const std::string & | getId () const |
const std::string & | getDescription () const |
std::string | getURI () const |
void | setResource (const std::string &resource) |
void | setId (const std::string &id) |
void | setDescription (const std::string &description) |
void | clearInvalidEntries () |
CReferences: Stores publication details such as PubMed Id and DOI.
CReference::CReference | ( | const std::string & | objectName, |
const CCopasiContainer * | pParent = NULL |
||
) |
Default constructor
const | std::string & objectName |
const | CCopasiContainer * pParent (default: NULL) |
CReference::CReference | ( | const CRDFTriplet & | triplet, |
const std::string & | objectName = "" , |
||
const CCopasiContainer * | pParent = NULL |
||
) |
Specific constructor
const | CRDFTriplet & triplet |
const | std::string & objectName (default: "") |
const | CCopasiContainer * pParent (default: NULL) |
CReference::CReference | ( | const CReference & | src, |
const CCopasiContainer * | pParent = NULL |
||
) |
Copy constructor
const CReference & | src |
const | CCopasiContainer * pParent (default: NULL) |
CReference::~CReference | ( | ) |
Destructor
void CReference::clearInvalidEntries | ( | ) |
Remove invalid combinations of resource and id
const std::string & CReference::getDescription | ( | ) | const |
Retrieve the description for the reference.
const std::string & CReference::getId | ( | ) | const |
Retrieve the id of the reference in the MIRIAM resource.
const std::string & CReference::getKey | ( | ) | const [virtual] |
std::string CReference::getResource | ( | ) | const |
Retrieve the MIRIAM resource for the reference.
const CRDFTriplet & CReference::getTriplet | ( | ) | const |
Retrieve the RDF triplet holding the information for this reference.
std::string CReference::getURI | ( | ) | const |
Retrieve the URI (comprised of resource an id) specifying this reference.
void CReference::setDescription | ( | const std::string & | description | ) |
Set the description for the reference.
std::string | description |
void CReference::setId | ( | const std::string & | id | ) |
Set the id of the reference in the MIRIAM resource.
const | std::string & id |
void CReference::setResource | ( | const std::string & | resource | ) |
Set the MIRIAM resource for the reference
const | std::string & resource |