Nepomuk-Core
result.cpp
Go to the documentation of this file.
93 void Nepomuk2::Query::Result::addRequestProperty( const Nepomuk2::Types::Property& property, const Soprano::Node& value )
99 Soprano::Node Nepomuk2::Query::Result::operator[]( const Nepomuk2::Types::Property& property ) const
105 Soprano::Node Nepomuk2::Query::Result::requestProperty( const Nepomuk2::Types::Property& property ) const
107 QHash<Nepomuk2::Types::Property, Soprano::Node>::const_iterator it = d->requestProperties.find( property );
117 QHash<Nepomuk2::Types::Property, Soprano::Node> Nepomuk2::Query::Result::requestProperties() const
159 for ( QHash<Types::Property, Soprano::Node>::const_iterator it = d->requestProperties.constBegin();
161 QHash<Types::Property, Soprano::Node>::const_iterator it2 = other.d->requestProperties.constFind( it.key() );
167 for ( QHash<Types::Property, Soprano::Node>::const_iterator it = other.d->requestProperties.constBegin();
169 QHash<Types::Property, Soprano::Node>::const_iterator it2 = d->requestProperties.constFind( it.key() );
QHash< Types::Property, Soprano::Node > requestProperties() const
Retrieve the values of the request properties.
Definition: result.cpp:117
Variant additionalBinding(const QString &name) const
Retrieve an additional binding as returned by the query.
Definition: result.cpp:135
The Nepomuk Variant extends over QVariant by introducing direct support for Resource embedding...
Definition: variant.h:65
static Variant fromNode(const Soprano::Node &node)
Create a Variant object from a Soprano::Node.
Definition: variant.cpp:1364
Soprano::Node operator[](const Types::Property &property) const
Retrieve value of request property property.
Definition: result.cpp:99
A property is a resource of type rdf:Property which relates a domain with a range.
Definition: libnepomukcore/types/property.h:52
void addRequestProperty(const Types::Property &property, const Soprano::Node &value)
Add the value of a request property.
Definition: result.cpp:93
Soprano::BindingSet additionalBindings() const
Retrieve the set of additional bindings as set via setAdditionalBindings().
Definition: result.cpp:129
void setAdditionalBindings(const Soprano::BindingSet &bindings)
Set the additional bindings a query returned besides the result itself and the request properties...
Definition: result.cpp:123
QString excerpt() const
An excerpt of the matched text with highlighted search words in case the query contained a full text ...
Definition: result.cpp:147
Soprano::Node requestProperty(const Types::Property &property) const
Retrieve value of request property property.
Definition: result.cpp:105
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.