Public Member Functions

Pattern Class Reference

Models an RDF triple. More...

Inheritance diagram for Pattern:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Pattern ()
 Constructs an invalid pattern.
 Pattern (const Value &s, const Value &p, const Value &o)
 Constructs a Pattern.
bool operator== (const Pattern &other) const
bool operator!= (const Pattern &other) const
void setSubject (const Value &subject)
 Sets the subject of the triple.
Value subject () const
 Returns the subject of the triple.
void setPredicate (const Value &predicate)
 Sets the predicate of the triple.
Value predicate () const
 Returns the predicate of the triple.
void setObject (const Value &object)
 Sets the object of the triple.
Value object () const
 Returns the object of the triple.

Detailed Description

Models an RDF triple.

The pattern class models an RDF triple, that is a subject, a predicate and an object.

You will likely not use this class directly but rather functions like Select::addRestriction(const Value *s, const Value *p, const Value *o), PatternGroup::addPattern(const Value *s, const Value *p, const Value *o), etc.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations