|
Soprano
2.9.2
|
QueryHit represents a hit from an IndexFilterModel query. It basically is an RDF resource combined with a hit score. More...
#include <Soprano/Index/QueryHit>
Public Member Functions | |
| QueryHit () | |
| QueryHit (const QueryHit &) | |
| QueryHit (const Node &resource, double score) | |
| ~QueryHit () | |
| QueryHit & | operator= (const QueryHit &) |
| double | score () const |
| Node | resource () const |
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.
| 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.
| resource | The resource of the hit. |
| score | The hit score. |
| Soprano::Index::QueryHit::~QueryHit | ( | ) |
Destructor.
| double Soprano::Index::QueryHit::score | ( | ) | const |
| Node Soprano::Index::QueryHit::resource | ( | ) | const |
1.8.5