xapian-core  1.4.27
Public Member Functions | Protected Attributes | List of all members
Xapian::Internal::Context Class Reference
+ Inheritance diagram for Xapian::Internal::Context:
+ Collaboration diagram for Xapian::Internal::Context:

Public Member Functions

 Context (QueryOptimiser *qopt_, size_t reserve)
 
 ~Context ()
 
void add_postlist (PostList *pl)
 
bool empty () const
 
size_t size () const
 
void shrink (size_t new_size)
 

Protected Attributes

QueryOptimiserqopt
 
vector< PostList * > pls
 

Detailed Description

Definition at line 121 of file queryinternal.cc.

Constructor & Destructor Documentation

◆ Context()

Xapian::Internal::Context::Context ( QueryOptimiser qopt_,
size_t  reserve 
)

Definition at line 147 of file queryinternal.cc.

References pls.

◆ ~Context()

Xapian::Internal::Context::~Context ( )

Definition at line 166 of file queryinternal.cc.

References shrink().

Member Function Documentation

◆ add_postlist()

void Xapian::Internal::Context::add_postlist ( PostList pl)
inline

◆ empty()

bool Xapian::Internal::Context::empty ( ) const
inline

Definition at line 136 of file queryinternal.cc.

Referenced by Xapian::Internal::QueryWildcard::postlist().

◆ shrink()

void Xapian::Internal::Context::shrink ( size_t  new_size)

◆ size()

size_t Xapian::Internal::Context::size ( ) const
inline

Member Data Documentation

◆ pls

vector<PostList*> Xapian::Internal::Context::pls
protected

◆ qopt

QueryOptimiser* Xapian::Internal::Context::qopt
protected

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