FreeLing  4.0
Public Member Functions | Private Attributes
freeling::word::const_iterator Class Reference

const_iterator over word analysis (either all, only selected, only unselected) More...

#include <language.h>

Inheritance diagram for freeling::word::const_iterator:
Inheritance graph
[legend]
Collaboration diagram for freeling::word::const_iterator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 const_iterator ()
 empty constructor
 const_iterator (const word::const_iterator &)
 copy
 const_iterator (const word::iterator &)
 copy from nonconst iterator
 const_iterator (const std::list< analysis >::const_iterator &)
 Constructor from std::list iterator.
 const_iterator (const std::list< analysis >::iterator &)
 Constructor from std::list nonconst iterator.
 const_iterator (const std::list< analysis >::const_iterator &, const std::list< analysis >::const_iterator &, const std::list< analysis >::const_iterator &, int, int k=0)
 Constructor for filtered iterators (selected/unselected)
const_iteratoroperator++ ()
 Generic increment, for all cases.
const_iterator operator++ (int)
 Generic increment, for all cases.

Private Attributes

std::list< analysis >
::const_iterator 
ibeg
 Iterator range begin.
std::list< analysis >
::const_iterator 
iend
 Iterator range end.
int type
 Iterator type (ALL,SELECTED,UNSELECTED)
int kbest
 Which of k-best sequences proposed by the tagger is the iterator associated with.

Detailed Description

const_iterator over word analysis (either all, only selected, only unselected)


Constructor & Destructor Documentation

empty constructor

word::const_iterator is the same than word::iterator, but const ///

Empty constructor

copy

Copy.

References ibeg, iend, kbest, and type.

Constructor from std::list iterator.

Constructor from std::list nonconst iterator.

freeling::word::const_iterator::const_iterator ( const std::list< analysis >::const_iterator ,
const std::list< analysis >::const_iterator ,
const std::list< analysis >::const_iterator ,
int  ,
int  k = 0 
)

Constructor for filtered iterators (selected/unselected)


Member Function Documentation

word::const_iterator & freeling::word::const_iterator::operator++ ( )

Generic increment, for all cases.

Generic preincrement, for all cases.

References freeling::word::ALL, and freeling::word::SELECTED.

word::const_iterator freeling::word::const_iterator::operator++ ( int  )

Generic increment, for all cases.


Member Data Documentation

Iterator range begin.

Referenced by const_iterator().

Iterator range end.

Referenced by const_iterator().

Which of k-best sequences proposed by the tagger is the iterator associated with.

Referenced by const_iterator().

Iterator type (ALL,SELECTED,UNSELECTED)

Referenced by const_iterator().


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