Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkRdfTriple.h>
Public Member Functions | |
RdfTriple () | |
RdfTriple (RdfNode subject, RdfNode predicate, RdfNode object) | |
RdfTriple (RdfNode subject, RdfNode property, std::string value) | |
virtual | ~RdfTriple () |
void | SetTripleSubject (RdfNode subject) |
void | SetTriplePredicate (RdfNode predicate) |
void | SetTripleObject (RdfNode object) |
void | SetTripleObject (std::string text) |
RdfNode | GetTripleSubject () const |
RdfNode | GetTriplePredicate () const |
RdfNode | GetTripleObject () const |
bool | operator== (const RdfTriple &u) const |
bool | operator!= (const RdfTriple &u) const |
Definition at line 28 of file mitkRdfTriple.h.
mitk::RdfTriple::RdfTriple | ( | ) |
Construct a empty invalid triple.
Definition at line 22 of file mitkRdfTriple.cpp.
Construct a normal triple with two nodes and an object property node between.
subject | A node. |
predicate | A node which represents an object property. |
object | A node. |
Definition at line 26 of file mitkRdfTriple.cpp.
Construct a normal triple with a node, a data property and a value.
subject | A node. |
predicate | A node which represents a data property. |
value | A text value. |
Definition at line 31 of file mitkRdfTriple.cpp.
|
virtual |
Definition at line 36 of file mitkRdfTriple.cpp.
RdfNode mitk::RdfTriple::GetTripleObject | ( | ) | const |
Get the object of a triple.
Definition at line 71 of file mitkRdfTriple.cpp.
Referenced by mitk::operator<<().
RdfNode mitk::RdfTriple::GetTriplePredicate | ( | ) | const |
Get the predicate of a triple.
Definition at line 66 of file mitkRdfTriple.cpp.
Referenced by mitk::operator<<().
RdfNode mitk::RdfTriple::GetTripleSubject | ( | ) | const |
Get the subject of a triple.
Definition at line 61 of file mitkRdfTriple.cpp.
Referenced by mitk::operator<<().
bool mitk::RdfTriple::operator!= | ( | const RdfTriple & | u | ) | const |
Definition at line 84 of file mitkRdfTriple.cpp.
References operator==().
bool mitk::RdfTriple::operator== | ( | const RdfTriple & | u | ) | const |
Definition at line 76 of file mitkRdfTriple.cpp.
Referenced by operator!=().
void mitk::RdfTriple::SetTripleObject | ( | RdfNode | object | ) |
Set the object of a triple with an object property.
object | A node from type URI, BLANK or LITERAL. |
Definition at line 50 of file mitkRdfTriple.cpp.
void mitk::RdfTriple::SetTripleObject | ( | std::string | text | ) |
Set the object of a triple with a data property as text.
text | A literal value.. |
Definition at line 55 of file mitkRdfTriple.cpp.
void mitk::RdfTriple::SetTriplePredicate | ( | RdfNode | predicate | ) |
Set the predicate of a triple.
predicate | A node from type URI which can represent an object property or a data property. |
Definition at line 45 of file mitkRdfTriple.cpp.
void mitk::RdfTriple::SetTripleSubject | ( | RdfNode | subject | ) |
Set the subject of a triple.
subject | A node from type URI or BLANK. |
Definition at line 40 of file mitkRdfTriple.cpp.