#include <fst/fst.h>
Inherited by fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIteratorBase< A >.
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 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 flags, uint32 mask) |
| Return current behavorial flags. | |
Arc iterator interface, templated on the Arc definition; used for Arc iterator specializations that are returned by the InitArcIterator Fst method.
Definition at line 368 of file fst.h.
| typedef A fst::ArcIteratorBase< A >::Arc |
Reimplemented in fst::MutableArcIteratorBase< A >, and fst::MutableArcIteratorBase< Arc >.
| typedef A::StateId fst::ArcIteratorBase< A >::StateId |
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| virtual fst::ArcIteratorBase< A >::~ArcIteratorBase | ( | ) | [inline, virtual] |
| bool fst::ArcIteratorBase< A >::Done | ( | ) | const [inline] |
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| uint32 fst::ArcIteratorBase< A >::Flags | ( | ) | const [inline] |
Random arc access by position.
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| void fst::ArcIteratorBase< A >::Next | ( | ) | [inline] |
Current state (when !Done).
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| size_t fst::ArcIteratorBase< A >::Position | ( | ) | const [inline] |
Advance to next arc (when !Done).
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| void fst::ArcIteratorBase< A >::Reset | ( | ) | [inline] |
Return current position.
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| void fst::ArcIteratorBase< A >::Seek | ( | size_t | a | ) | [inline] |
Return to initial condition.
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| void fst::ArcIteratorBase< A >::SetFlags | ( | uint32 | flags, | |
| uint32 | mask | |||
| ) | [inline] |
Return current behavorial flags.
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
| const A& fst::ArcIteratorBase< A >::Value | ( | ) | const [inline] |
End of iterator?
Reimplemented in fst::ArcIterator< ComplementFst< A > >, and fst::MutableArcIterator< VectorFst< A > >.
1.7.1