![]() |
SASSY
0.0
Software Architecture Support System
|
An abstract class defining the methods for an RDF Statement. More...
#include <rdfxx/rdfxx.h>
Public Member Functions | |
| virtual | ~Statement_ () |
| Virtual destructor. | |
| virtual Statement | copy () const =0 |
| Clone the statement. | |
| virtual void | subject (Node n)=0 |
| Set the subject node. | |
| virtual NodeRef | subject () const =0 |
| Get a reference to the subject node. | |
| virtual void | predicate (Node n)=0 |
| Set the predicate node. | |
| virtual NodeRef | predicate () const =0 |
| Get a reference to the predicate node. | |
| virtual void | object (Node n)=0 |
| Get the object node. | |
| virtual NodeRef | object () const =0 |
| Get a reference to the object node. | |
| virtual bool | isComplete () const =0 |
| Check if all three nodes are defined. | |
| virtual bool | match (Statement) const =0 |
| Compare if the non-null nodes arethe same. | |
| virtual void | clear ()=0 |
| Remove the nodes. | |
| virtual std::string | toString () const =0 |
| Get a string representaion of the statement. | |
| virtual std::string | toString (const Format &) const =0 |
| Get a string representaion of the statement using the specified formatting. | |
| virtual bool | operator== (Statement) const =0 |
| Compare with another statement. | |
An abstract class defining the methods for an RDF Statement.
1.8.5