Nepomuk-Core
Nepomuk2::Types::Literal Class Reference
#include <Nepomuk2/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
Nepomuk2::Types::Literal::Literal | ( | ) |
Nepomuk2::Types::Literal::Literal | ( | const Literal & | other | ) |
Definition at line 73 of file literal.cpp.
Nepomuk2::Types::Literal::Literal | ( | const QUrl & | dataTypeUri | ) |
Definition at line 79 of file literal.cpp.
Nepomuk2::Types::Literal::~Literal | ( | ) |
Definition at line 100 of file literal.cpp.
Member Function Documentation
QVariant::Type Nepomuk2::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.
Definition at line 118 of file literal.cpp.
QUrl Nepomuk2::Types::Literal::dataTypeUri | ( | ) | const |
The XML Schema type URI.
Definition at line 112 of file literal.cpp.
bool Nepomuk2::Types::Literal::isValid | ( | ) | const |
Nepomuk2::Types::Literal & Nepomuk2::Types::Literal::operator= | ( | const Literal & | other | ) |
Definition at line 105 of file literal.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:09 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:09 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.