Public Types | Public Member Functions

fst::ArcIterator< F > Class Template Reference

#include <fst/fst.h>

Inherited by fst::ArcIterator< MatcherFst< F, M, N, I > >.

Collaboration diagram for fst::ArcIterator< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F FST
typedef F::Arc Arc
typedef Arc::StateId StateId

Public Member Functions

 ArcIterator (const F &fst, StateId s)
 ArcIterator (const ArcIteratorData< Arc > &data)
 ~ArcIterator ()
bool Done () const
const ArcValue () const
void Next ()
void Reset ()
void Seek (size_t a)
size_t Position () const
uint32 Flags () const
void SetFlags (uint32 flags, uint32 mask)

Detailed Description

template<class F>
class fst::ArcIterator< F >

Generic arc iterator, templated on the FST definition

Definition at line 420 of file fst.h.


Member Typedef Documentation

template<class F>
typedef F::Arc fst::ArcIterator< F >::Arc

Definition at line 423 of file fst.h.

template<class F>
typedef F fst::ArcIterator< F >::FST

Definition at line 422 of file fst.h.

template<class F>
typedef Arc::StateId fst::ArcIterator< F >::StateId

Definition at line 424 of file fst.h.


Constructor & Destructor Documentation

template<class F>
fst::ArcIterator< F >::ArcIterator ( const F &  fst,
StateId  s 
) [inline]

Definition at line 426 of file fst.h.

template<class F>
fst::ArcIterator< F >::ArcIterator ( const ArcIteratorData< Arc > &  data  )  [inline, explicit]

Definition at line 430 of file fst.h.

template<class F>
fst::ArcIterator< F >::~ArcIterator (  )  [inline]

Definition at line 435 of file fst.h.


Member Function Documentation

template<class F>
bool fst::ArcIterator< F >::Done (  )  const [inline]

Definition at line 442 of file fst.h.

template<class F>
uint32 fst::ArcIterator< F >::Flags (  )  const [inline]

Definition at line 475 of file fst.h.

template<class F>
void fst::ArcIterator< F >::Next (  )  [inline]

Definition at line 450 of file fst.h.

template<class F>
size_t fst::ArcIterator< F >::Position (  )  const [inline]

Definition at line 471 of file fst.h.

template<class F>
void fst::ArcIterator< F >::Reset (  )  [inline]

Definition at line 457 of file fst.h.

template<class F>
void fst::ArcIterator< F >::Seek ( size_t  a  )  [inline]

Definition at line 464 of file fst.h.

template<class F>
void fst::ArcIterator< F >::SetFlags ( uint32  flags,
uint32  mask 
) [inline]

Definition at line 479 of file fst.h.

template<class F>
const Arc& fst::ArcIterator< F >::Value (  )  const [inline]

Definition at line 446 of file fst.h.


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