Nepomuk-Core
Nepomuk2::Query::Query::RequestProperty Class Reference
#include <Nepomuk2/Query/Query>
Public Member Functions | |
RequestProperty (const Nepomuk2::Types::Property &property, bool optional=true) | |
RequestProperty (const RequestProperty &) | |
~RequestProperty () | |
RequestProperty & | operator= (const RequestProperty &) |
bool | operator== (const RequestProperty &other) const |
bool | optional () const |
Nepomuk2::Types::Property | property () const |
Detailed Description
A request property can be added to a Query to retrieve additional information about the results.
Normally a query would simply yield a list of resources, ie. URIs. Using RequestProperty one can request additional fields such as the modification time or the label or whatever is of interest in the current context.
- See also
- addRequestProperty, setRequestProperties
Constructor & Destructor Documentation
Nepomuk2::Query::Query::RequestProperty::RequestProperty | ( | const Nepomuk2::Types::Property & | property, |
bool | optional = true |
||
) |
Nepomuk2::Query::Query::RequestProperty::RequestProperty | ( | const RequestProperty & | other | ) |
Nepomuk2::Query::Query::RequestProperty::~RequestProperty | ( | ) |
Member Function Documentation
Nepomuk2::Query::Query::RequestProperty & Nepomuk2::Query::Query::RequestProperty::operator= | ( | const RequestProperty & | other | ) |
bool Nepomuk2::Query::Query::RequestProperty::operator== | ( | const RequestProperty & | other | ) | const |
Comparison operator.
Two RequestProperty instances are equal if their property() and value of optional() are equal.
bool Nepomuk2::Query::Query::RequestProperty::optional | ( | ) | const |
Nepomuk2::Types::Property Nepomuk2::Query::Query::RequestProperty::property | ( | ) | const |
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.