Dataquay::Triple Class Reference

A triple made up of three Node objects. More...

#include <dataquay/Triple.h>

List of all members.

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 ()

Public Attributes

Node a
Node b
Node c


Detailed Description

A triple 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 three Nothing nodes.

Definition at line 53 of file Triple.h.

Dataquay::Triple::Triple ( Node  _a,
Node  _b,
Node  _c 
) [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 consist of URI, URI, and either URI or Literal types, in that order. (A complete RDF statement may have either URI or blank node as its subject, but we don't handle blank nodes properly in this wrapper.) See the following constructor for some simple assistance in constructing those.

Definition at line 68 of file Triple.h.

Dataquay::Triple::Triple ( QString  a_uri,
QString  b_uri,
Node  _c 
) [inline]

Construct a triple of two URIs and an arbitrary node.

This constructor simplifies constructing complete RDF statements -- with URI, URI, and URI or Literal nodes.

Definition at line 77 of file Triple.h.

Dataquay::Triple::~Triple (  )  [inline]

Definition at line 82 of file Triple.h.


Member Data Documentation

Definition at line 84 of file Triple.h.

Referenced by Dataquay::operator<<(), Dataquay::operator==(), and Dataquay::operator>>().

Definition at line 85 of file Triple.h.

Referenced by Dataquay::operator<<(), Dataquay::operator==(), and Dataquay::operator>>().


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

Generated on Thu Sep 24 23:19:49 2009 for Dataquay by  doxygen 1.5.7.1