Nepomuk
Nepomuk::Types::Literal Class Reference
#include <Nepomuk/Types/Literal>
Public Member Functions | |
Literal () | |
Literal (const Literal &) | |
Literal (const QUrl &dataTypeUri) | |
~Literal () | |
QVariant::Type | dataType () const |
QUrl | dataTypeUri () const |
bool | isValid () const |
Literal & | operator= (const Literal &) |
Detailed Description
Defines a literal type based on XML Schema.
Each valid Literal represents the literal type as XML Schema URI and as QVariant type.
Constructor & Destructor Documentation
§ Literal() [1/3]
Nepomuk::Types::Literal::Literal | ( | ) |
Default constructor.
Creates an empty Literal
§ Literal() [2/3]
Nepomuk::Types::Literal::Literal | ( | const Literal & | ) |
§ Literal() [3/3]
Nepomuk::Types::Literal::Literal | ( | const QUrl & | dataTypeUri | ) |
§ ~Literal()
Nepomuk::Types::Literal::~Literal | ( | ) |
Member Function Documentation
§ dataType()
QVariant::Type Nepomuk::Types::Literal::dataType | ( | ) | const |
The type converted to a QVariant::Type.
- Returns
- The QVariant::Type that corresponds to the XML Schema type or QVariant::Invalid if it could not be matched.
§ dataTypeUri()
QUrl Nepomuk::Types::Literal::dataTypeUri | ( | ) | const |
The XML Schema type URI.
§ isValid()
bool Nepomuk::Types::Literal::isValid | ( | ) | const |
Is this a valid Literal, i.e.
has it a valid URI.
§ operator=()
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sun Jun 3 2018 13:14:33 by doxygen 1.8.12 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2018 The KDE developers.
Generated on Sun Jun 3 2018 13:14:33 by doxygen 1.8.12 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.