QuartzDocIdListIterator Class Reference

#include <quartz_alldocspostlist.h>

List of all members.

Public Types

typedef std::input_iterator_tag iterator_category
 Allow use as an STL iterator.
typedef Xapian::docid value_type
typedef Xapian::doccount_diff difference_type
typedef Xapian::docidpointer
typedef Xapian::docidreference

Public Member Functions

Xapian::docid operator * ()
 QuartzDocIdListIterator ()
 ~QuartzDocIdListIterator ()
 QuartzDocIdListIterator (const QuartzDocIdListIterator &other)
void operator= (const QuartzDocIdListIterator &other)
QuartzDocIdListIteratoroperator++ ()
Xapian::DocIDWrapper operator++ (int)
Xapian::docid operator * () const

Private Member Functions

 QuartzDocIdListIterator (const map< Xapian::docid, Xapian::docid > *ranges_)
 QuartzDocIdListIterator (const map< Xapian::docid, Xapian::docid > *ranges_, int)

Private Attributes

const map< Xapian::docid,
Xapian::docid > * 
ranges
map< Xapian::docid, Xapian::docid
>::const_iterator 
currrange
Xapian::docid currdocid

Friends

class QuartzDocIdList
bool operator== (const QuartzDocIdListIterator &a, const QuartzDocIdListIterator &b)


Detailed Description

Definition at line 44 of file quartz_alldocspostlist.h.


Member Typedef Documentation

typedef std::input_iterator_tag QuartzDocIdListIterator::iterator_category

Allow use as an STL iterator.

Definition at line 80 of file quartz_alldocspostlist.h.

typedef Xapian::docid QuartzDocIdListIterator::value_type

Definition at line 81 of file quartz_alldocspostlist.h.

typedef Xapian::doccount_diff QuartzDocIdListIterator::difference_type

Definition at line 82 of file quartz_alldocspostlist.h.

typedef Xapian::docid* QuartzDocIdListIterator::pointer

Definition at line 83 of file quartz_alldocspostlist.h.

typedef Xapian::docid& QuartzDocIdListIterator::reference

Definition at line 84 of file quartz_alldocspostlist.h.


Constructor & Destructor Documentation

QuartzDocIdListIterator::QuartzDocIdListIterator ( const map< Xapian::docid, Xapian::docid > *  ranges_  )  [private]

Definition at line 51 of file quartz_alldocspostlist.cc.

References currdocid, currrange, DEBUGCALL, DEBUGLINE, and ranges.

QuartzDocIdListIterator::QuartzDocIdListIterator ( const map< Xapian::docid, Xapian::docid > *  ranges_,
int   
) [private]

Definition at line 44 of file quartz_alldocspostlist.cc.

QuartzDocIdListIterator::QuartzDocIdListIterator (  ) 

Definition at line 35 of file quartz_alldocspostlist.cc.

References DEBUGCALL.

QuartzDocIdListIterator::~QuartzDocIdListIterator (  )  [inline]

Definition at line 64 of file quartz_alldocspostlist.h.

QuartzDocIdListIterator::QuartzDocIdListIterator ( const QuartzDocIdListIterator other  ) 

Definition at line 68 of file quartz_alldocspostlist.cc.

References DEBUGCALL.


Member Function Documentation

Xapian::docid QuartzDocIdListIterator::operator * (  )  [inline]

Definition at line 56 of file quartz_alldocspostlist.h.

References currdocid.

void QuartzDocIdListIterator::operator= ( const QuartzDocIdListIterator other  ) 

Definition at line 78 of file quartz_alldocspostlist.cc.

References currdocid, currrange, DEBUGCALL, and ranges.

QuartzDocIdListIterator & QuartzDocIdListIterator::operator++ (  ) 

Definition at line 88 of file quartz_alldocspostlist.cc.

References Assert, currdocid, currrange, DEBUGCALL, DEBUGLINE, om_tostring(), and ranges.

Referenced by operator++().

Xapian::DocIDWrapper QuartzDocIdListIterator::operator++ ( int   )  [inline]

Definition at line 70 of file quartz_alldocspostlist.h.

References operator++().

Xapian::docid QuartzDocIdListIterator::operator * (  )  const [inline]

Definition at line 76 of file quartz_alldocspostlist.h.

References currdocid.


Friends And Related Function Documentation

friend class QuartzDocIdList [friend]

Definition at line 50 of file quartz_alldocspostlist.h.

bool operator== ( const QuartzDocIdListIterator a,
const QuartzDocIdListIterator b 
) [friend]

Definition at line 88 of file quartz_alldocspostlist.h.


Member Data Documentation

const map<Xapian::docid, Xapian::docid>* QuartzDocIdListIterator::ranges [private]

Definition at line 46 of file quartz_alldocspostlist.h.

Referenced by operator++(), operator=(), operator==(), and QuartzDocIdListIterator().

map<Xapian::docid, Xapian::docid>::const_iterator QuartzDocIdListIterator::currrange [private]

Definition at line 47 of file quartz_alldocspostlist.h.

Referenced by operator++(), operator=(), and QuartzDocIdListIterator().

Xapian::docid QuartzDocIdListIterator::currdocid [private]

Definition at line 48 of file quartz_alldocspostlist.h.

Referenced by operator *(), operator++(), operator=(), operator==(), and QuartzDocIdListIterator().


The documentation for this class was generated from the following files:
Documentation for Xapian (version 1.0.10).
Generated on 24 Dec 2008 by Doxygen 1.5.2.