Public Member Functions

fst::ArcIteratorBase< Arc > Class Template Reference

#include <fst/fst.h>

Inherited by fst::ArcIterator< ComplementFst< Arc > >, and fst::MutableArcIteratorBase< Arc >.

List of all members.

Public Member Functions

virtual ~ArcIteratorBase ()
virtual bool Done () const =0
 End of iterator?
virtual const Arc & Value () const =0
 Returns current arc (when !Done()).
virtual void Next ()=0
 Advances to next arc (when !Done()).
virtual size_t Position () const =0
 Returns current position.
virtual void Reset ()=0
 Returns to initial condition.
virtual void Seek (size_t)=0
 Advances to arbitrary arc by position.
virtual uint32 Flags () const =0
 Returns current behavorial flags.
virtual void SetFlags (uint32, uint32)=0
 Sets behavorial flags.

Detailed Description

template<class Arc>
class fst::ArcIteratorBase< Arc >

Arc iterator interface, templated on the arc definition; used for arc iterator specializations that are returned by the InitArcIterator FST method.

Definition at line 425 of file fst.h.


Constructor & Destructor Documentation

template<class Arc>
virtual fst::ArcIteratorBase< Arc >::~ArcIteratorBase (  )  [inline, virtual]

Definition at line 429 of file fst.h.


Member Function Documentation

template<class Arc>
virtual bool fst::ArcIteratorBase< Arc >::Done (  )  const [pure virtual]
template<class Arc>
virtual uint32 fst::ArcIteratorBase< Arc >::Flags (  )  const [pure virtual]
template<class Arc>
virtual void fst::ArcIteratorBase< Arc >::Next (  )  [pure virtual]
template<class Arc>
virtual size_t fst::ArcIteratorBase< Arc >::Position (  )  const [pure virtual]
template<class Arc>
virtual void fst::ArcIteratorBase< Arc >::Reset (  )  [pure virtual]
template<class Arc>
virtual void fst::ArcIteratorBase< Arc >::Seek ( size_t   )  [pure virtual]
template<class Arc>
virtual void fst::ArcIteratorBase< Arc >::SetFlags ( uint32  ,
uint32   
) [pure virtual]
template<class Arc>
virtual const Arc& fst::ArcIteratorBase< Arc >::Value (  )  const [pure virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines