Xapian::ESet::Internal Class Reference

Class which actually implements Xapian::ESet. More...

#include <esetinternal.h>

Inheritance diagram for Xapian::ESet::Internal:

Inheritance graph
[legend]
Collaboration diagram for Xapian::ESet::Internal:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Internal ()
 Construct an empty ESet::Internal.
void expand (Xapian::termcount max_esize, const Xapian::Database &db, const Xapian::RSet &rset, const Xapian::ExpandDecider *edecider, const Xapian::Internal::ExpandWeight &eweight, Xapian::weight min_wt)
 Run the "expand" operation which fills the ESet.
std::string get_description () const
 Return a string describing this object.

Private Member Functions

void operator= (const Internal &)
 Don't allow assignment.
 Internal (const Internal &)
 Don't allow copying.

Private Attributes

Xapian::termcount ebound
 This is a lower bound on the ESet size if an infinite number of results were requested.
std::vector
< Xapian::Internal::ExpandTerm
items
 The ExpandTerm objects which represent the items in the ESet.

Friends

class ESet
class ESetIterator


Detailed Description

Class which actually implements Xapian::ESet.

Definition at line 76 of file esetinternal.h.


Constructor & Destructor Documentation

Xapian::ESet::Internal::Internal ( const Internal  )  [private]

Don't allow copying.

Xapian::ESet::Internal::Internal (  )  [inline]

Construct an empty ESet::Internal.

Definition at line 98 of file esetinternal.h.


Member Function Documentation

void Xapian::ESet::Internal::expand ( Xapian::termcount  max_esize,
const Xapian::Database db,
const Xapian::RSet rset,
const Xapian::ExpandDecider edecider,
const Xapian::Internal::ExpandWeight eweight,
Xapian::weight  min_wt 
)

Run the "expand" operation which fills the ESet.

Definition at line 138 of file esetinternal.cc.

References Assert, Xapian::build_termlist_tree(), ebound, Xapian::RSet::empty(), Xapian::Internal::ExpandWeight::get_weight(), items, LOGCALL_VOID, LOGLINE, and rare.

string Xapian::ESet::Internal::get_description (  )  const

Return a string describing this object.

Definition at line 206 of file esetinternal.cc.

References ebound, items, and Xapian::Internal::str().

void Xapian::ESet::Internal::operator= ( const Internal  )  [private]

Don't allow assignment.


Friends And Related Function Documentation

friend class ESet [friend]

Definition at line 77 of file esetinternal.h.

friend class ESetIterator [friend]

Definition at line 78 of file esetinternal.h.


Member Data Documentation

This is a lower bound on the ESet size if an infinite number of results were requested.

It will of course always be true that: ebound >= items.size()

Definition at line 85 of file esetinternal.h.

Referenced by expand(), and get_description().

The ExpandTerm objects which represent the items in the ESet.

Definition at line 88 of file esetinternal.h.

Referenced by expand(), and get_description().


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

Documentation for Xapian (version 1.2.8).
Generated on 14 Dec 2011 by Doxygen 1.5.9.