Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

lemur::retrieval::PassageRep::iterator Class Reference

Replace with STL style iterator. iterator over passages. More...

#include <PassageRep.hpp>

List of all members.

Public Member Functions

 iterator ()
 iterator (int s, int e, int p, int o, int d, PassageRep *r)
virtual ~iterator ()
virtual PassageRepoperator * ()
 initialize and return the element.

virtual iteratoroperator++ ()
virtual iteratoroperator++ (int)
virtual bool operator== (iterator &other)
 pointer equality on the int * internal representations.

virtual bool operator!= (iterator &other)
 pointer inequality on the int * internal representations.


Protected Attributes

PassageReprep
 the passage rep we're iterating over.

int psgSize
 Size of the passage, in number of tokens.

int overlap
 Number of tokens to overlap when advancing the passage window.

int docEnd
 Length of the whole document.

int start
 index of start of the current passage.

int end
 index of end of the current passage.


Detailed Description

Replace with STL style iterator. iterator over passages.


Constructor & Destructor Documentation

lemur::retrieval::PassageRep::iterator::iterator  )  [inline]
 

lemur::retrieval::PassageRep::iterator::iterator int  s,
int  e,
int  p,
int  o,
int  d,
PassageRep r
[inline]
 

virtual lemur::retrieval::PassageRep::iterator::~iterator  )  [inline, virtual]
 


Member Function Documentation

virtual PassageRep& lemur::retrieval::PassageRep::iterator::operator *  )  [inline, virtual]
 

initialize and return the element.

virtual bool lemur::retrieval::PassageRep::iterator::operator!= iterator other  )  [inline, virtual]
 

pointer inequality on the int * internal representations.

virtual iterator& lemur::retrieval::PassageRep::iterator::operator++ int   )  [inline, virtual]
 

virtual iterator& lemur::retrieval::PassageRep::iterator::operator++  )  [inline, virtual]
 

virtual bool lemur::retrieval::PassageRep::iterator::operator== iterator other  )  [inline, virtual]
 

pointer equality on the int * internal representations.


Member Data Documentation

int lemur::retrieval::PassageRep::iterator::docEnd [protected]
 

Length of the whole document.

int lemur::retrieval::PassageRep::iterator::end [protected]
 

index of end of the current passage.

int lemur::retrieval::PassageRep::iterator::overlap [protected]
 

Number of tokens to overlap when advancing the passage window.

int lemur::retrieval::PassageRep::iterator::psgSize [protected]
 

Size of the passage, in number of tokens.

PassageRep* lemur::retrieval::PassageRep::iterator::rep [protected]
 

the passage rep we're iterating over.

int lemur::retrieval::PassageRep::iterator::start [protected]
 

index of start of the current passage.


The documentation for this class was generated from the following file:
Generated on Tue Jun 15 11:03:06 2010 for Lemur by doxygen 1.3.4