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

Public Member Functions

 Pos (const string &term_, const Xapian::PositionIterator &p_)
 
Xapian::termpos get_pos () const
 
const string & get_term () const
 
bool next ()
 

Private Attributes

Xapian::termpos pos
 
Xapian::PositionIterator p
 
string term
 

Detailed Description

Definition at line 57 of file xapian-pos.cc.

Constructor & Destructor Documentation

◆ Pos()

Pos::Pos ( const string &  term_,
const Xapian::PositionIterator p_ 
)
inline

Definition at line 65 of file xapian-pos.cc.

Member Function Documentation

◆ get_pos()

Xapian::termpos Pos::get_pos ( ) const
inline

Definition at line 68 of file xapian-pos.cc.

Referenced by PosCmp::operator()().

◆ get_term()

const string& Pos::get_term ( ) const
inline

Definition at line 70 of file xapian-pos.cc.

Referenced by PosCmp::operator()().

◆ next()

bool Pos::next ( )
inline

Definition at line 72 of file xapian-pos.cc.

References Xapian::iterator_valid().

Member Data Documentation

◆ p

Xapian::PositionIterator Pos::p
private

Definition at line 60 of file xapian-pos.cc.

◆ pos

Xapian::termpos Pos::pos
private

Definition at line 58 of file xapian-pos.cc.

◆ term

string Pos::term
private

Definition at line 62 of file xapian-pos.cc.


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