END EditFstImpl IMPLEMENTATION. More...
#include <fst/edit-fst.h>
Inherits ImplToMutableFst< EditFstImpl< A > >.

Public Types | |
| typedef A | Arc |
| typedef A::StateId | StateId |
| typedef EditFstImpl< A > | Impl |
Public Member Functions | |
| EditFst () | |
| EditFst (const Fst< A > &fst) | |
| EditFst (const EditFst< A > &fst, bool safe=false) | |
| See Fst<>::Copy() for doc. | |
| virtual | ~EditFst () |
| virtual EditFst< A > * | Copy (bool safe=false) const |
| Get a copy of this EditFst. See Fst<>::Copy() for further doc. | |
| EditFst< A > & | operator= (const EditFst< A > &fst) |
| virtual EditFst< A > & | operator= (const Fst< A > &fst) |
| virtual void | InitStateIterator (StateIteratorData< Arc > *data) const |
| virtual void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const |
| virtual void | InitMutableArcIterator (StateId s, MutableArcIteratorData< A > *data) |
Static Public Member Functions | |
| static EditFst< A > * | Read (istream &strm, const FstReadOptions &opts) |
| Read an EditFst from an input stream; return NULL on error. | |
| static EditFst< A > * | Read (const string &filename) |
Friends | |
| class | MutableArcIterator< EditFst< A > > |
END EditFstImpl IMPLEMENTATION.
Concrete, editable FST. This class attaches interface to implementation.
Definition at line 454 of file edit-fst.h.
| typedef A fst::EditFst< A >::Arc |
Reimplemented from fst::ImplToMutableFst< EditFstImpl< A > >.
Definition at line 458 of file edit-fst.h.
| typedef EditFstImpl<A> fst::EditFst< A >::Impl |
Definition at line 460 of file edit-fst.h.
| typedef A::StateId fst::EditFst< A >::StateId |
Reimplemented from fst::ImplToMutableFst< EditFstImpl< A > >.
Definition at line 459 of file edit-fst.h.
| fst::EditFst< A >::EditFst | ( | ) | [inline] |
Definition at line 462 of file edit-fst.h.
| fst::EditFst< A >::EditFst | ( | const Fst< A > & | fst | ) | [inline, explicit] |
Definition at line 464 of file edit-fst.h.
| fst::EditFst< A >::EditFst | ( | const EditFst< A > & | fst, | |
| bool | safe = false | |||
| ) | [inline] |
See Fst<>::Copy() for doc.
Definition at line 468 of file edit-fst.h.
| virtual fst::EditFst< A >::~EditFst | ( | ) | [inline, virtual] |
Definition at line 471 of file edit-fst.h.
| virtual EditFst<A>* fst::EditFst< A >::Copy | ( | bool | safe = false |
) | const [inline, virtual] |
Get a copy of this EditFst. See Fst<>::Copy() for further doc.
Implements fst::MutableFst< typename EditFstImpl< A >::Arc >.
Definition at line 474 of file edit-fst.h.
| virtual void fst::EditFst< A >::InitArcIterator | ( | StateId | s, | |
| ArcIteratorData< Arc > * | data | |||
| ) | const [inline, virtual] |
Definition at line 507 of file edit-fst.h.
| virtual void fst::EditFst< A >::InitMutableArcIterator | ( | StateId | s, | |
| MutableArcIteratorData< A > * | data | |||
| ) | [inline, virtual] |
Definition at line 512 of file edit-fst.h.
| virtual void fst::EditFst< A >::InitStateIterator | ( | StateIteratorData< Arc > * | data | ) | const [inline, virtual] |
Definition at line 503 of file edit-fst.h.
| EditFst<A>& fst::EditFst< A >::operator= | ( | const EditFst< A > & | fst | ) | [inline] |
Definition at line 478 of file edit-fst.h.
| virtual EditFst<A>& fst::EditFst< A >::operator= | ( | const Fst< A > & | fst | ) | [inline, virtual] |
Definition at line 483 of file edit-fst.h.
| static EditFst<A>* fst::EditFst< A >::Read | ( | istream & | strm, | |
| const FstReadOptions & | opts | |||
| ) | [inline, static] |
Read an EditFst from an input stream; return NULL on error.
Reimplemented from fst::MutableFst< typename EditFstImpl< A >::Arc >.
Definition at line 491 of file edit-fst.h.
| static EditFst<A>* fst::EditFst< A >::Read | ( | const string & | filename | ) | [inline, static] |
Read an EditFst from a file; return NULL on error. Empty filename reads from standard input.
Reimplemented from fst::ImplToExpandedFst< EditFstImpl< A >, MutableFst< typename EditFstImpl< A >::Arc > >.
Definition at line 498 of file edit-fst.h.
friend class MutableArcIterator< EditFst< A > > [friend] |
Definition at line 456 of file edit-fst.h.
1.7.1