22 #ifndef LITERAL_VALUE_H 23 #define LITERAL_VALUE_H 27 #include <QtCore/QVariant> 28 #include <QtCore/QSharedDataPointer> 276 bool isValid()
const;
284 bool isPlain()
const;
287 bool isInt64()
const;
288 bool isUnsignedInt()
const;
289 bool isUnsignedInt64()
const;
291 bool isDouble()
const;
299 bool isString()
const;
302 bool isDateTime()
const;
303 bool isByteArray()
const;
308 qlonglong toInt64()
const;
309 uint toUnsignedInt()
const;
310 qulonglong toUnsignedInt64()
const;
312 double toDouble()
const;
327 QDate toDate()
const;
328 QTime toTime()
const;
341 QUrl dataTypeUri()
const;
357 QVariant::Type
type()
const;
445 static QVariant::Type typeFromDataTypeUri(
const QUrl& dataTypeUri );
452 static QUrl dataTypeUriFromType( QVariant::Type type );
455 class LiteralValueData;
SOPRANO_EXPORT QUrl time()
SOPRANO_EXPORT QUrl value()
SOPRANO_EXPORT QUrl language()
A LanguageTag represents a language according to RFC 3066 and RFC 4646.
SOPRANO_EXPORT uint qHash(const LanguageTag &node)
SOPRANO_EXPORT QDebug operator<<(QDebug dbg, const Graph &graph)
SOPRANO_EXPORT QUrl date()
Represents a literal value of an RDF Node.
SOPRANO_EXPORT QUrl type()