xapian-core  1.4.21
Public Member Functions | Public Attributes | List of all members
ProbQuery Struct Reference
+ Collaboration diagram for ProbQuery:

Public Member Functions

 ProbQuery ()
 
 ProbQuery (Query *query_)
 
 ~ProbQuery ()
 
void add_filter (const string &grouping, const Query &q)
 
void append_filter (const string &grouping, const Query &qnew)
 
void add_filter_range (const string &grouping, const Query &range)
 
void append_filter_range (const string &grouping, const Query &range)
 
Query merge_filters () const
 

Public Attributes

Queryquery = NULL
 
Querylove = NULL
 
Queryhate = NULL
 
map< string, Queryfilter
 

Detailed Description

Definition at line 828 of file queryparser_internal.cc.

Constructor & Destructor Documentation

◆ ProbQuery() [1/2]

ProbQuery::ProbQuery ( )
inline

Definition at line 837 of file queryparser_internal.cc.

◆ ProbQuery() [2/2]

ProbQuery::ProbQuery ( Query query_)
inlineexplicit

Definition at line 840 of file queryparser_internal.cc.

◆ ~ProbQuery()

ProbQuery::~ProbQuery ( )
inline

Definition at line 842 of file queryparser_internal.cc.

References query().

Member Function Documentation

◆ add_filter()

void ProbQuery::add_filter ( const string &  grouping,
const Query q 
)
inline

Definition at line 848 of file queryparser_internal.cc.

Referenced by yy_reduce().

◆ add_filter_range()

void ProbQuery::add_filter_range ( const string &  grouping,
const Query range 
)
inline

Definition at line 869 of file queryparser_internal.cc.

Referenced by yy_reduce().

◆ append_filter()

void ProbQuery::append_filter ( const string &  grouping,
const Query qnew 
)
inline

Definition at line 852 of file queryparser_internal.cc.

References Xapian::Query::empty().

Referenced by yy_reduce().

◆ append_filter_range()

void ProbQuery::append_filter_range ( const string &  grouping,
const Query range 
)
inline

Definition at line 873 of file queryparser_internal.cc.

Referenced by yy_reduce().

◆ merge_filters()

Query ProbQuery::merge_filters ( ) const
inline

Definition at line 878 of file queryparser_internal.cc.

References Assert.

Referenced by yy_reduce().

Member Data Documentation

◆ filter

map<string, Query> ProbQuery::filter

Definition at line 835 of file queryparser_internal.cc.

Referenced by yy_reduce().

◆ hate

Query* ProbQuery::hate = NULL

Definition at line 831 of file queryparser_internal.cc.

Referenced by yy_reduce().

◆ love

Query* ProbQuery::love = NULL

Definition at line 830 of file queryparser_internal.cc.

Referenced by yy_reduce().

◆ query

Query* ProbQuery::query = NULL

Definition at line 829 of file queryparser_internal.cc.

Referenced by yy_reduce().


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