#include <CRDFPredicate.h>
|
typedef std::vector< sAllowedLocation > | AllowedLocationList |
|
enum | ePredicateType {
copasi_encodes = 0
, copasi_hasPart
, copasi_hasVersion
, copasi_is
,
copasi_isDescribedBy
, copasi_isEncodedBy
, copasi_isHomologTo
, copasi_isPartOf
,
copasi_isVersionOf
, copasi_occursIn
, bqbiol_encodes
, bqbiol_hasPart
,
bqbiol_hasProperty
, bqbiol_hasVersion
, bqbiol_is
, bqbiol_isDescribedBy
,
bqbiol_isEncodedBy
, bqbiol_isHomologTo
, bqbiol_isPartOf
, bqbiol_isPropertyOf
,
bqbiol_isVersionOf
, bqbiol_occursIn
, bqbiol_hasTaxon
, bqmodel_is
,
bqmodel_isDerivedFrom
, bqmodel_isDescribedBy
, bqmodel_isInstanceOf
, bqmodel_hasInstance
,
dc_creator
, dcterms_creator
, dcterms_bibliographicCitation
, dcterms_created
,
dcterms_description
, dcterms_modified
, dcterms_W3CDTF
, vcard_EMAIL
,
vcard_Family
, vcard_Given
, vcard_N
, vcard_ORG
,
vcard_Orgname
, rdf_type
, rdf_li
, rdf__n
,
rdf_subject
, rdf_predicate
, rdf_object
, unknown
,
about
, any
, end
} |
|
typedef std::vector< ePredicateType > | Path |
|
◆ AllowedLocationList
◆ Path
◆ ePredicateType
Enumerator |
---|
copasi_encodes | |
copasi_hasPart | |
copasi_hasVersion | |
copasi_is | |
copasi_isDescribedBy | |
copasi_isEncodedBy | |
copasi_isHomologTo | |
copasi_isPartOf | |
copasi_isVersionOf | |
copasi_occursIn | |
bqbiol_encodes | |
bqbiol_hasPart | |
bqbiol_hasProperty | |
bqbiol_hasVersion | |
bqbiol_is | |
bqbiol_isDescribedBy | |
bqbiol_isEncodedBy | |
bqbiol_isHomologTo | |
bqbiol_isPartOf | |
bqbiol_isPropertyOf | |
bqbiol_isVersionOf | |
bqbiol_occursIn | |
bqbiol_hasTaxon | |
bqmodel_is | |
bqmodel_isDerivedFrom | |
bqmodel_isDescribedBy | |
bqmodel_isInstanceOf | |
bqmodel_hasInstance | |
dc_creator | |
dcterms_creator | |
dcterms_bibliographicCitation | |
dcterms_created | |
dcterms_description | |
dcterms_modified | |
dcterms_W3CDTF | |
vcard_EMAIL | |
vcard_Family | |
vcard_Given | |
vcard_N | |
vcard_ORG | |
vcard_Orgname | |
rdf_type | |
rdf_li | |
rdf__n | |
rdf_subject | |
rdf_predicate | |
rdf_object | |
unknown | |
about | |
any | |
end | |
◆ CRDFPredicate() [1/3]
◆ CRDFPredicate() [2/3]
CRDFPredicate::CRDFPredicate |
( |
const std::string & |
uri | ) |
|
◆ CRDFPredicate() [3/3]
Copy constructor
- Parameters
-
◆ ~CRDFPredicate()
CRDFPredicate::~CRDFPredicate |
( |
| ) |
|
◆ createAllowedLocationsAbsolute() [1/2]
void CRDFPredicate::createAllowedLocationsAbsolute |
( |
| ) |
|
|
staticprivate |
◆ createAllowedLocationsAbsolute() [2/2]
void CRDFPredicate::createAllowedLocationsAbsolute |
( |
const ePredicateType & |
predicate | ) |
|
|
staticprivate |
◆ createAllowedLocationsRelative()
void CRDFPredicate::createAllowedLocationsRelative |
( |
| ) |
|
|
staticprivate |
Create the list of relative allowed locations for each predicate
References about, any, CRDFObject::BLANK_NODE, bqbiol_encodes, bqbiol_hasPart, bqbiol_hasProperty, bqbiol_hasTaxon, bqbiol_hasVersion, bqbiol_is, bqbiol_isDescribedBy, bqbiol_isEncodedBy, bqbiol_isHomologTo, bqbiol_isPartOf, bqbiol_isPropertyOf, bqbiol_isVersionOf, bqbiol_occursIn, bqmodel_hasInstance, bqmodel_is, bqmodel_isDerivedFrom, bqmodel_isDescribedBy, bqmodel_isInstanceOf, C_INVALID_INDEX, copasi_encodes, copasi_hasPart, copasi_hasVersion, copasi_is, copasi_isDescribedBy, copasi_isEncodedBy, copasi_isHomologTo, copasi_isPartOf, copasi_isVersionOf, copasi_occursIn, dc_creator, dcterms_bibliographicCitation, dcterms_created, dcterms_creator, dcterms_description, dcterms_modified, dcterms_W3CDTF, CRDFObject::LITERAL, Predicate2AllowedLocationsRelative, CRDFObject::RESOURCE, vcard_EMAIL, vcard_Family, vcard_Given, vcard_N, vcard_ORG, and vcard_Orgname.
Referenced by initialize().
◆ createDisplayName2Predicate()
void CRDFPredicate::createDisplayName2Predicate |
( |
| ) |
|
|
staticprivate |
◆ createURI2Predicate()
void CRDFPredicate::createURI2Predicate |
( |
| ) |
|
|
staticprivate |
◆ getAllowedLocationList()
◆ getDisplayName()
const std::string & CRDFPredicate::getDisplayName |
( |
const CRDFPredicate & |
predicate | ) |
|
|
static |
◆ getPredicateFromDisplayName()
◆ getPredicateFromURI()
◆ getSubPathIndex()
size_t CRDFPredicate::getSubPathIndex |
( |
const Path & |
fullPath, |
|
|
const Path & |
currentPath |
|
) |
| |
|
static |
◆ getType()
◆ getURI() [1/2]
const std::string & CRDFPredicate::getURI |
( |
| ) |
const |
Retrieve the URI.
- Returns
- const std::string & URI
References mURI.
Referenced by CRDFGraph::addTriplet(), CBiologicalDescription::clearInvalidEntries(), CRDFGraphConverter::convert(), CMIRIAMInfo::createCreator(), CRDFNode::createMissingAncestors(), CMIRIAMInfo::createModification(), CMIRIAMInfo::createReference(), operator<<(), CMIRIAMInfo::removeCreator(), CMIRIAMInfo::removeModification(), CMIRIAMInfo::removeReference(), CMIRIAMInfo::setCreatedDT(), and CRDFNode::setFieldValue().
◆ getURI() [2/2]
const std::string & CRDFPredicate::getURI |
( |
const CRDFPredicate & |
predicate | ) |
|
|
static |
Retrieve the URI for the given predicate
- Parameters
-
- Returns
- const std::string & uri
References mType, and PredicateURI.
◆ initialize()
void CRDFPredicate::initialize |
( |
| ) |
|
|
staticprivate |
◆ isReadOnly()
bool CRDFPredicate::isReadOnly |
( |
const Path & |
currentPath | ) |
|
|
static |
◆ operator!=()
bool CRDFPredicate::operator!= |
( |
const CRDFPredicate & |
rhs | ) |
const |
Comparison operator for inequality.
- Parameters
-
- Returns
- bool isNotEqual
References mURI.
◆ operator<()
Comparison operator for less.
- Parameters
-
- Returns
- bool isLess
References mURI.
◆ operator=()
◆ operator==()
bool CRDFPredicate::operator== |
( |
const CRDFPredicate & |
rhs | ) |
const |
Comparison operator for equality.
- Parameters
-
- Returns
- bool isEqual
References mURI.
◆ setURI()
void CRDFPredicate::setURI |
( |
const std::string & |
uri | ) |
|
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CRDFPredicate & |
p |
|
) |
| |
|
friend |
Friend declaration of ostream operator
- Parameters
-
- Returns
- std::ostream & os
◆ DisplayName2Predicate
◆ mType
◆ mURI
std::string CRDFPredicate::mURI |
|
private |
◆ Predicate2AllowedLocationsAbsolute
◆ Predicate2AllowedLocationsRelative
◆ PredicateDisplayName
const std::string CRDFPredicate::PredicateDisplayName |
|
staticprivate |
◆ PredicateURI
const std::string CRDFPredicate::PredicateURI |
|
staticprivate |
◆ URI2Predicate
The documentation for this class was generated from the following files: