Xapian::DocIDWrapper Class Reference

For internal use only.

A wrapper class for a docid which returns the docid if dereferenced with *.

More...

#include <postingiterator.h>

List of all members.

Public Member Functions

 DocIDWrapper (docid did_)
docid operator * () const

Private Attributes

docid did


Detailed Description

For internal use only.

A wrapper class for a docid which returns the docid if dereferenced with *.

We need this to implement input_iterator semantics.

Definition at line 42 of file postingiterator.h.


Constructor & Destructor Documentation

Xapian::DocIDWrapper::DocIDWrapper ( docid  did_  )  [inline, explicit]

Definition at line 46 of file postingiterator.h.


Member Function Documentation

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

Definition at line 47 of file postingiterator.h.

References did.


Member Data Documentation

docid Xapian::DocIDWrapper::did [private]

Definition at line 44 of file postingiterator.h.

Referenced by operator *().


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