Go to the documentation of this file.
23 #ifndef SOPRANO_NODE_H
24 #define SOPRANO_NODE_H
26 #include <QtCore/QUrl>
27 #include <QtCore/QSharedDataPointer>
28 #include <QtCore/QTextStream>
456 StrictLiteralTypes = 0x1,
470 Q_DECLARE_FLAGS( N3ParserFlags, N3ParserFlag )
484 static
Node fromN3( const
QString& n3, N3ParserFlags flags = NoFlags );
502 class ResourceNodeData;
504 class LiteralNodeData;
538 #if QT_VERSION < 0x040700
542 Q_DECLARE_OPERATORS_FOR_FLAGS( Soprano::Node::N3ParserFlags )
544 #endif // SOPRANO_NODE_H
bool operator!=(const Node &other) const
bool matches(const Node &other) const
bool operator==(const LiteralValue &other) const
bool operator==(const QUrl &uri) const
static Node createResourceNode(const QUrl &uri)
Represents a literal value of an RDF Node.
SOPRANO_EXPORT QUrl value()
SOPRANO_EXPORT QUrl url()
static Node createBlankNode(const QString &id)
Node & operator=(const LiteralValue &literal)
SOPRANO_CONSTRUCTOR_DEPRECATED Node(const LiteralValue &value, const QString &language)
#define SOPRANO_CONSTRUCTOR_DEPRECATED
static QString literalToN3(const LiteralValue &literal)
Node & operator=(const Node &other)
static Node createLiteralNode(const LiteralValue &value)
bool operator==(const Node &other) const
static QString resourceToN3(const QUrl &resource)
SOPRANO_EXPORT uint qHash(const LanguageTag &node)
QString identifier() const
static Node createEmptyNode()
Node & operator=(const QUrl &resource)
LiteralValue literal() const
static QString blankToN3(const QString &blank)
Node(const LiteralValue &value)
A Node represents one RDF resource.
static SOPRANO_DEPRECATED Node createLiteralNode(const LiteralValue &value, const QString &language)
SOPRANO_EXPORT QUrl language()