Public Types | Public Member Functions

fst::ArcIteratorBase< A > Class Template Reference

#include <fst/fst.h>

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

List of all members.

Public Types

typedef A Arc
typedef A::StateId StateId

Public Member Functions

virtual ~ArcIteratorBase ()
bool Done () const
const A & Value () const
 End of iterator?
void Next ()
 Current arc (when !Done).
size_t Position () const
 Advance to next arc (when !Done).
void Reset ()
 Return current position.
void Seek (size_t a)
 Return to initial condition.
uint32 Flags () const
 Random arc access by position.
void SetFlags (uint32 flags, uint32 mask)
 Return current behavorial flags.

Detailed Description

template<class A>
class fst::ArcIteratorBase< A >

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

Definition at line 399 of file fst.h.


Member Typedef Documentation

template<class A>
typedef A fst::ArcIteratorBase< A >::Arc
template<class A>
typedef A::StateId fst::ArcIteratorBase< A >::StateId

Constructor & Destructor Documentation

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

Definition at line 404 of file fst.h.


Member Function Documentation

template<class A>
bool fst::ArcIteratorBase< A >::Done (  )  const [inline]
template<class A>
uint32 fst::ArcIteratorBase< A >::Flags (  )  const [inline]
template<class A>
void fst::ArcIteratorBase< A >::Next (  )  [inline]
template<class A>
size_t fst::ArcIteratorBase< A >::Position (  )  const [inline]
template<class A>
void fst::ArcIteratorBase< A >::Reset (  )  [inline]
template<class A>
void fst::ArcIteratorBase< A >::Seek ( size_t  a  )  [inline]
template<class A>
void fst::ArcIteratorBase< A >::SetFlags ( uint32  flags,
uint32  mask 
) [inline]
template<class A>
const A& fst::ArcIteratorBase< A >::Value (  )  const [inline]

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