#include <CRDFNode.h>
List of all members.
Constructor & Destructor Documentation
Specific Constructor
- Parameters:
-
Member Function Documentation
Add a property edge to the node.
- Parameters:
-
- Returns:
- CRDFTriplet triplet
bool CRDFNode::addTripletToGraph |
( |
const CRDFTriplet & |
triplet | ) |
const |
This method is for internal use only. The method is declared public since friend declarations may not refer to public methods.
- Parameters:
-
- Returns:
- bool success.
Retrieve the string representation of the property predicate
- Parameters:
-
- Returns:
- const std::string & fieldValue
const std::string & CRDFNode::getId |
( |
| ) |
const |
Retrieve the Id of the node
- Returns:
- const std::string & id
Retrieve the object data of the node. It is recommended to call isObjectNode before retrieving the object.
- Returns:
- CRDFObject & object
Retrieve the object data of the node. It is recommended to call isObjectNode before retrieving the object.
- Returns:
- const CRDFObject & object
Retrieve the subject data of the node. It is recommended to call isSubjectNode before retrieving the subject.
- Returns:
- const CRDFSubject & subject
bool CRDFNode::hasAncestor |
( |
const CRDFNode * |
pNode | ) |
const |
Check whether the given node is in the path, i.e., has the given node as an ancestor
- Parameters:
-
- Returns:
- bool hasAncestor
bool CRDFNode::isBagNode |
( |
| ) |
const |
Check whether this is a bag node
- Returns:
- isBagNode
bool CRDFNode::isBlankNode |
( |
| ) |
const |
Check whether this is a blank node
- Returns:
- bool isBlankNode
bool CRDFNode::isObjectNode |
( |
| ) |
const |
Check whether this is a object node
- Returns:
- bool isObjectNode
bool CRDFNode::isReadOnly |
( |
| ) |
const |
Check whether the node is read only
- Returns:
- bool isReadOnly
bool CRDFNode::isSubjectNode |
( |
| ) |
const |
Check whether this is a subject node
- Returns:
- bool isSubjectNode
Remove a property edge from the node.
- Parameters:
-
- Returns:
- bool success
void CRDFNode::removeTripletFromGraph |
( |
const CRDFTriplet & |
triplet | ) |
const |
This method is for internal use only. The method is declared public since friend declarations may not refer to public methods.
- Parameters:
-
Set the field value for the property predicate
- Parameters:
-
- Returns:
- bool success
Set the field value for the property predicate
- Parameters:
-
- Returns:
- bool success
void CRDFNode::setId |
( |
const std::string & |
id | ) |
|
Set the Id of the node
- Parameters:
-
void CRDFNode::setObject |
( |
const CRDFObject & |
object | ) |
|
Set the object data of the node
- Parameters:
-
void CRDFNode::setSubject |
( |
const CRDFSubject & |
subject | ) |
|
Set the subject data of the node
- Parameters:
-
The documentation for this class was generated from the following files: