Soprano  2.7.6
Public Member Functions
Soprano::Index::QueryHit Class Reference

QueryHit represents a hit from an IndexFilterModel query. It basically is an RDF resource combined with a hit score. More...

#include <Soprano/Index/QueryHit>

List of all members.

Public Member Functions

 QueryHit ()
 QueryHit (const QueryHit &)
 QueryHit (const Node &resource, double score)
 ~QueryHit ()
QueryHitoperator= (const QueryHit &)
double score () const
Node resource () 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

Create an empty hit.

Default copy constructor.

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

Create a new hit.

Parameters:
resourceThe resource of the hit.
scoreThe hit score.

Destructor.


Member Function Documentation

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

The documentation for this class was generated from the following file: