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
Nepomuk::Types::Literal::Literal | ( | ) |
Default constructor.
Creates an empty Literal
Nepomuk::Types::Literal::Literal | ( | const Literal & | ) |
Nepomuk::Types::Literal::Literal | ( | const QUrl & | dataTypeUri | ) |
Nepomuk::Types::Literal::~Literal | ( | ) |
Member Function Documentation
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.
QUrl Nepomuk::Types::Literal::dataTypeUri | ( | ) | const |
The XML Schema type URI.
bool Nepomuk::Types::Literal::isValid | ( | ) | const |
Is this a valid Literal, i.e.
has it a valid URI.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.