Public Types | Public Member Functions

fst::ArcIterator< ComplementFst< A > > Class Template Reference

Specialization for ComplementFst. More...

#include <fst/complement.h>

Inherits fst::ArcIteratorBase< A >.

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

List of all members.

Public Types

typedef A::StateId StateId
typedef A::Label Label
typedef A::Weight Weight

Public Member Functions

 ArcIterator (const ComplementFst< A > &fst, StateId s)
virtual ~ArcIterator ()
bool Done () const
const A & Value () const
 Adds the rho label to the rho destination state.
void Next ()
 Current state (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 f, uint32 m)
 Return current behavorial flags.

Detailed Description

template<class A>
class fst::ArcIterator< ComplementFst< A > >

Specialization for ComplementFst.

Definition at line 215 of file complement.h.


Member Typedef Documentation

template<class A >
typedef A::Label fst::ArcIterator< ComplementFst< A > >::Label

Definition at line 218 of file complement.h.

template<class A >
typedef A::StateId fst::ArcIterator< ComplementFst< A > >::StateId

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 217 of file complement.h.

template<class A >
typedef A::Weight fst::ArcIterator< ComplementFst< A > >::Weight

Definition at line 219 of file complement.h.


Constructor & Destructor Documentation

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

Definition at line 221 of file complement.h.

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

Definition at line 227 of file complement.h.


Member Function Documentation

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

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 229 of file complement.h.

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

Random arc access by position.

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 276 of file complement.h.

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

Current state (when !Done).

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 249 of file complement.h.

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

Advance to next arc (when !Done).

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 255 of file complement.h.

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

Return current position.

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 259 of file complement.h.

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

Return to initial condition.

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 265 of file complement.h.

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

Return current behavorial flags.

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 280 of file complement.h.

template<class A >
const A& fst::ArcIterator< ComplementFst< A > >::Value (  )  const [inline]

Adds the rho label to the rho destination state.

Reimplemented from fst::ArcIteratorBase< A >.

Definition at line 237 of file complement.h.


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