Dataquay 0.8
Dataquay::Triples Class Reference

A list of RDF triples. More...

#include <Triple.h>

Inheritance diagram for Dataquay::Triples:

Public Member Functions

bool matches (const Triples &other) const
 Return true if the two Triples lists contain the same elements.
 
Nodes subjects ()
 
Nodes predicates ()
 
Nodes objects ()
 

Detailed Description

A list of RDF triples.

Definition at line 111 of file Triple.h.

Member Function Documentation

◆ matches()

bool Dataquay::Triples::matches ( const Triples & other) const
inline

Return true if the two Triples lists contain the same elements.

Triples is an ordered list, so operator== returns true only if the two lists have the same elements in the same order; this test is independent of order (although not independent of number, in the case of duplicate triples) and so may be more meaningful in some cases.

Definition at line 121 of file Triple.h.

◆ subjects()

Nodes Dataquay::Triples::subjects ( )
inline

Definition at line 132 of file Triple.h.

References Dataquay::Triple::a.

◆ predicates()

Nodes Dataquay::Triples::predicates ( )
inline

Definition at line 137 of file Triple.h.

References Dataquay::Triple::b.

◆ objects()

Nodes Dataquay::Triples::objects ( )
inline

Definition at line 142 of file Triple.h.

References Dataquay::Triple::c.


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