xapian-core  1.4.27
Public Types | Public Member Functions | Private Attributes | List of all members
SynonymIterator Class Reference
+ Collaboration diagram for SynonymIterator:

Public Types

typedef std::input_iterator_tag iterator_category
 
typedef Xapian::Query value_type
 
typedef Xapian::termcount_diff difference_type
 
typedef Xapian::Querypointer
 
typedef Xapian::Queryreference
 

Public Member Functions

 SynonymIterator (const Xapian::TermIterator &i_, Xapian::termpos pos_=0, const Xapian::Query *first_=NULL)
 
SynonymIteratoroperator++ ()
 
const Xapian::Query operator* () const
 
bool operator== (const SynonymIterator &o) const
 
bool operator!= (const SynonymIterator &o) const
 

Private Attributes

Xapian::TermIterator i
 
Xapian::termpos pos
 
const Xapian::Queryfirst
 

Detailed Description

Definition at line 351 of file queryparser_internal.cc.

Member Typedef Documentation

◆ difference_type

Definition at line 387 of file queryparser_internal.cc.

◆ iterator_category

typedef std::input_iterator_tag SynonymIterator::iterator_category

Definition at line 385 of file queryparser_internal.cc.

◆ pointer

Definition at line 388 of file queryparser_internal.cc.

◆ reference

Definition at line 389 of file queryparser_internal.cc.

◆ value_type

Definition at line 386 of file queryparser_internal.cc.

Constructor & Destructor Documentation

◆ SynonymIterator()

SynonymIterator::SynonymIterator ( const Xapian::TermIterator i_,
Xapian::termpos  pos_ = 0,
const Xapian::Query first_ = NULL 
)
inline

Definition at line 359 of file queryparser_internal.cc.

Member Function Documentation

◆ operator!=()

bool SynonymIterator::operator!= ( const SynonymIterator o) const
inline

Definition at line 381 of file queryparser_internal.cc.

◆ operator*()

const Xapian::Query SynonymIterator::operator* ( ) const
inline

Definition at line 372 of file queryparser_internal.cc.

◆ operator++()

SynonymIterator& SynonymIterator::operator++ ( )
inline

Definition at line 364 of file queryparser_internal.cc.

◆ operator==()

bool SynonymIterator::operator== ( const SynonymIterator o) const
inline

Definition at line 377 of file queryparser_internal.cc.

References first, and i.

Member Data Documentation

◆ first

const Xapian::Query* SynonymIterator::first
private

Definition at line 356 of file queryparser_internal.cc.

Referenced by operator==().

◆ i

Xapian::TermIterator SynonymIterator::i
private

Definition at line 352 of file queryparser_internal.cc.

Referenced by operator==().

◆ pos

Xapian::termpos SynonymIterator::pos
private

Definition at line 354 of file queryparser_internal.cc.


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