Dataquay::Triple Class Reference
Triple represents an RDF statement made up of three Node objects. More...
#include <dataquay/Triple.h>
Public Member Functions | |
| Triple () | |
| Construct a triple of three Nothing nodes. | |
| Triple (Node _a, Node _b, Node _c) | |
| Construct a triple of the three given nodes. | |
| Triple (QString a_uri, QString b_uri, Node _c) | |
| Construct a triple of two URIs and an arbitrary node. | |
| Triple (Node _a, QString b_uri, Node _c) | |
| Construct a triple of Node, URI, and an arbitrary node. | |
| ~Triple () | |
| bool | operator< (const Triple &t) const |
Public Attributes | |
| Node | a |
| Node | b |
| Node | c |
Detailed Description
Triple represents an RDF statement made up of three Node objects.
Definition at line 47 of file Triple.h.
Constructor & Destructor Documentation
| Dataquay::Triple::Triple | ( | ) | [inline] |
Construct a triple of the three given nodes.
Our triples may contain anything, including the Nothing node type for undefined elements (used in wildcard matching, etc).
However, in order to be inserted in the RDF store, a triple must have either URI or Blank type for its first (or subject) node, URI for its second (or predicate) node, and either URI, Blank, or Literal type for its third (or object) node. See the following constructor for some simple assistance in constructing typical statement triples.
| Dataquay::Triple::Triple | ( | QString | a_uri, | |
| QString | b_uri, | |||
| Node | _c | |||
| ) | [inline] |
Member Function Documentation
| bool Dataquay::Triple::operator< | ( | const Triple & | t | ) | const [inline] |
Member Data Documentation
Definition at line 99 of file Triple.h.
Referenced by operator<().
Definition at line 100 of file Triple.h.
Referenced by operator<().
Definition at line 101 of file Triple.h.
Referenced by Dataquay::PropertyObject::getObjectType(), Dataquay::PropertyObject::getProperty(), Dataquay::PropertyObject::getPropertyNode(), operator<(), Dataquay::PropertyObject::setProperty(), and Dataquay::PropertyObject::setPropertyList().
The documentation for this class was generated from the following file:
Generated on Thu May 17 22:54:21 2012 for Dataquay by
1.6.3