filter_group_id Struct Reference

A structure identifying a group of filter terms or a value range. More...

Collaboration diagram for filter_group_id:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 filter_group_id (const PrefixInfo *prefix_info_)
 Make a new filter_group_id for boolean filter terms.
 filter_group_id (Xapian::valueno slot_)
 Make a new filter_group_id for value range terms.
bool operator< (const filter_group_id &other) const
 Ordering needed to allow storage in a map.

Public Attributes

const PrefixInfoprefix_info
 The prefix info for boolean filter terms.
Xapian::valueno slot
 The value number for a value range.


Detailed Description

A structure identifying a group of filter terms or a value range.

Definition at line 116 of file queryparser_internal.cc.


Constructor & Destructor Documentation

filter_group_id::filter_group_id ( const PrefixInfo prefix_info_  )  [inline, explicit]

Make a new filter_group_id for boolean filter terms.

Definition at line 130 of file queryparser_internal.cc.

filter_group_id::filter_group_id ( Xapian::valueno  slot_  )  [inline, explicit]

Make a new filter_group_id for value range terms.

Definition at line 134 of file queryparser_internal.cc.


Member Function Documentation

bool filter_group_id::operator< ( const filter_group_id other  )  const [inline]

Ordering needed to allow storage in a map.

Definition at line 138 of file queryparser_internal.cc.

References prefix_info, PrefixInfo::prefixes, and slot.


Member Data Documentation

The prefix info for boolean filter terms.

This is NULL for a value range.

Definition at line 121 of file queryparser_internal.cc.

Referenced by operator<().

The value number for a value range.

This is used for value range terms.

Definition at line 127 of file queryparser_internal.cc.

Referenced by operator<().


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

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