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

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  ) 

double Soprano::Index::QueryHit::score (  )  const

Node Soprano::Index::QueryHit::resource (  )  const


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

Generated on Tue Jul 22 17:39:36 2008 for Soprano by  doxygen 1.5.6