#include <enquire.h>
Collaboration diagram for Xapian::RSet:
Public Member Functions | |
RSet (const RSet &rset) | |
Copy constructor. | |
void | operator= (const RSet &rset) |
Assignment operator. | |
RSet () | |
Default constructor. | |
~RSet () | |
Destructor. | |
Xapian::doccount | size () const |
The number of documents in this R-Set. | |
bool | empty () const |
Test if this R-Set is empty. | |
void | add_document (Xapian::docid did) |
Add a document to the relevance set. | |
void | add_document (const Xapian::MSetIterator &i) |
Add a document to the relevance set. | |
void | remove_document (Xapian::docid did) |
Remove a document from the relevance set. | |
void | remove_document (const Xapian::MSetIterator &i) |
Remove a document from the relevance set. | |
bool | contains (Xapian::docid did) const |
Test if a given document in the relevance set. | |
bool | contains (const Xapian::MSetIterator &i) const |
Test if a given document in the relevance set. | |
std::string | get_description () const |
Return a string describing this object. | |
Public Attributes | |
Xapian::Internal::RefCntPtr< Internal > | internal |
For internal use only. Reference counted internals. | |
Classes | |
class | Internal |
This is the set of documents which are marked as relevant, for use in modifying the term weights, and in performing query expansion.
Definition at line 534 of file enquire.h.
Xapian::RSet::RSet | ( | const RSet & | rset | ) |
Xapian::RSet::RSet | ( | ) |
Xapian::RSet::~RSet | ( | ) |
void Xapian::RSet::operator= | ( | const RSet & | rset | ) |
Xapian::doccount Xapian::RSet::size | ( | ) | const |
The number of documents in this R-Set.
Definition at line 77 of file omenquire.cc.
Referenced by Xapian::Enquire::Internal::get_eset(), and unserialise_rset().
bool Xapian::RSet::empty | ( | ) | const |
void Xapian::RSet::add_document | ( | Xapian::docid | did | ) |
Add a document to the relevance set.
Definition at line 89 of file omenquire.cc.
Referenced by DEFINE_TESTCASE(), main(), and unserialise_rset().
void Xapian::RSet::add_document | ( | const Xapian::MSetIterator & | i | ) | [inline] |
void Xapian::RSet::remove_document | ( | Xapian::docid | did | ) |
void Xapian::RSet::remove_document | ( | const Xapian::MSetIterator & | i | ) | [inline] |
bool Xapian::RSet::contains | ( | Xapian::docid | did | ) | const |
bool Xapian::RSet::contains | ( | const Xapian::MSetIterator & | i | ) | const [inline] |
string Xapian::RSet::get_description | ( | ) | const |
Return a string describing this object.
Definition at line 107 of file omenquire.cc.
Referenced by DEFINE_TESTCASE().
For internal use only.
Reference counted internals.
Definition at line 537 of file enquire.h.
Referenced by operator=(), serialise_rset(), and split_rset_by_db().