• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • KDE Support
  • Sitemap
  • Contact Us
 

soprano

Soprano::Index::QueryHit

Soprano::Index::QueryHit Class Reference

QueryHit represents a hit from an IndexFilterModel query. More...

#include <Soprano/Index/QueryHit>

List of all members.

Public Member Functions

 QueryHit (const Node &resource, double score)
 QueryHit (const QueryHit &)
 QueryHit ()
 ~QueryHit ()
QueryHit & operator= (const QueryHit &)
Node resource () const
double score () const

Detailed Description

QueryHit represents a hit from an IndexFilterModel query.

It basically is an RDF resource combined with a hit score.

Definition at line 40 of file indexqueryhit.h.


Constructor & Destructor Documentation

Soprano::Index::QueryHit::QueryHit (  ) 

Create an empty hit.

Soprano::Index::QueryHit::QueryHit ( const QueryHit &   ) 

Default copy constructor.

Soprano::Index::QueryHit::QueryHit ( const Node &  resource,
double  score 
)

Create a new hit.

Parameters:
resource The resource of the hit.
score The hit score.
Soprano::Index::QueryHit::~QueryHit (  ) 

Destructor.


Member Function Documentation

QueryHit& Soprano::Index::QueryHit::operator= ( const QueryHit &   ) 
Node Soprano::Index::QueryHit::resource (  )  const
double Soprano::Index::QueryHit::score (  )  const

The documentation for this class was generated from the following file:
  • indexqueryhit.h

soprano

Skip menu "soprano"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE Support

Skip menu "KDE Support"
  • akonadi
  • Decibel
  • grantlee
  • kdewin
  • phonon
  •     Backend
  • polkit-qt
  • qca
  • qimageblitz
  • soprano
  • strigi
  •     searchclient
  •     streamanalyzer
  •     streams
Generated for KDE Support by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal