QueryBuilderEnv Struct Reference

The environment used by the steps when building a query. More...

Collaboration diagram for QueryBuilderEnv:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 QueryBuilderEnv (unsigned int maxtermsperfield_, unsigned int maxchildren_)
Xapian::Query pop ()
 Pop a query from the front of the list of pieces, and return it.
list< Xapian::Query >::iterator pick (unsigned int num)
 Get an iterator pointing to the "num"th element in pieces.

Public Attributes

list< Xapian::Querypieces
 Workspace for the query builder steps.
unsigned int maxtermsperfield
unsigned int maxchildren


Detailed Description

The environment used by the steps when building a query.

Definition at line 61 of file soaktest_queries.cc.


Constructor & Destructor Documentation

QueryBuilderEnv::QueryBuilderEnv ( unsigned int  maxtermsperfield_,
unsigned int  maxchildren_ 
) [inline]

Definition at line 68 of file soaktest_queries.cc.


Member Function Documentation

list<Xapian::Query>::iterator QueryBuilderEnv::pick ( unsigned int  num  )  [inline]

Get an iterator pointing to the "num"th element in pieces.

Definition at line 83 of file soaktest_queries.cc.

References pieces.

Referenced by combine_AND(), combine_NOT(), combine_OR(), and combine_XOR().

Xapian::Query QueryBuilderEnv::pop (  )  [inline]

Pop a query from the front of the list of pieces, and return it.

Definition at line 75 of file soaktest_queries.cc.

References pieces.

Referenced by QueryBuilder::make_query().


Member Data Documentation

Definition at line 66 of file soaktest_queries.cc.

Referenced by combine_AND(), combine_OR(), and combine_XOR().

Definition at line 65 of file soaktest_queries.cc.

Referenced by push_leaf_N().

Workspace for the query builder steps.

Definition at line 63 of file soaktest_queries.cc.

Referenced by combine_AND(), combine_NOT(), combine_OR(), combine_XOR(), pick(), pop(), and push_leaf_N().


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

Documentation for Xapian (version 1.2.9).
Generated on 10 May 2012 by Doxygen 1.5.9.