34 : m_Type(URI), m_Value(uri.ToString())
39 : m_Type(LITERAL), m_Value(text)
44 : m_Type(LITERAL), m_Value(text), m_Datatype(dataType)
59 m_Datatype = dataType;
84 if (this->m_Type != u.m_Type)
return false;
85 if (this->m_Value.compare(u.m_Value) != 0)
return false;
86 if (this->m_Datatype != u.m_Datatype)
return false;
104 out <<
"[empty-uri]";
110 out <<
"\"" << n.
GetValue() <<
"\"";
114 out <<
"[blank " << n.
GetValue() <<
"]";
bool operator!=(const RdfNode &u) const
MITKCORE_EXPORT std::ostream & operator<<(std::ostream &o, DataNode::Pointer &dtn)
DataCollection - Class to facilitate loading/accessing structured data.
std::string GetValue() const
RdfUri GetDatatype() const
void SetDatatype(RdfUri dataType)
void SetValue(std::string value)
bool operator==(const RdfNode &u) const