#include <fst/mutable-fst.h>

Public Types | |
| typedef F | FST |
| typedef F::Arc | Arc |
| typedef Arc::StateId | StateId |
Public Member Functions | |
| MutableArcIterator (F *fst, StateId s) | |
| ~MutableArcIterator () | |
| bool | Done () const |
| const Arc & | Value () const |
| void | Next () |
| size_t | Position () const |
| void | Reset () |
| void | Seek (size_t a) |
| void | SetValue (const Arc &a) |
| uint32 | Flags () const |
| void | SetFlags (uint32 f, uint32 m) |
Generic mutable arc iterator, templated on the FST definition
for (MutableArcIterator<StdFst> aiter(&fst, s)); !aiter.Done(); aiter.Next()) { StdArc arc = aiter.Value(); arc.ilabel = 7; aiter.SetValue(arc); ... }
Definition at line 161 of file mutable-fst.h.
| typedef F::Arc fst::MutableArcIterator< F >::Arc |
Definition at line 164 of file mutable-fst.h.
| typedef F fst::MutableArcIterator< F >::FST |
Definition at line 163 of file mutable-fst.h.
| typedef Arc::StateId fst::MutableArcIterator< F >::StateId |
Definition at line 165 of file mutable-fst.h.
| fst::MutableArcIterator< F >::MutableArcIterator | ( | F * | fst, | |
| StateId | s | |||
| ) | [inline] |
Definition at line 167 of file mutable-fst.h.
| fst::MutableArcIterator< F >::~MutableArcIterator | ( | ) | [inline] |
Definition at line 170 of file mutable-fst.h.
| bool fst::MutableArcIterator< F >::Done | ( | ) | const [inline] |
Definition at line 172 of file mutable-fst.h.
| uint32 fst::MutableArcIterator< F >::Flags | ( | ) | const [inline] |
Definition at line 179 of file mutable-fst.h.
| void fst::MutableArcIterator< F >::Next | ( | ) | [inline] |
Definition at line 174 of file mutable-fst.h.
| size_t fst::MutableArcIterator< F >::Position | ( | ) | const [inline] |
Definition at line 175 of file mutable-fst.h.
| void fst::MutableArcIterator< F >::Reset | ( | ) | [inline] |
Definition at line 176 of file mutable-fst.h.
| void fst::MutableArcIterator< F >::Seek | ( | size_t | a | ) | [inline] |
Definition at line 177 of file mutable-fst.h.
| void fst::MutableArcIterator< F >::SetFlags | ( | uint32 | f, | |
| uint32 | m | |||
| ) | [inline] |
Definition at line 180 of file mutable-fst.h.
| void fst::MutableArcIterator< F >::SetValue | ( | const Arc & | a | ) | [inline] |
Definition at line 178 of file mutable-fst.h.
| const Arc& fst::MutableArcIterator< F >::Value | ( | ) | const [inline] |
Definition at line 173 of file mutable-fst.h.
1.7.1