#include <fst/script/fst-class.h>
Inherits fst::script::FstClassBase.
Inherited by fst::script::MutableFstClass.

Public Member Functions | |
| template<class Arc > | |
| FstClass (Fst< Arc > *fst) | |
| FstClass (const FstClass &other) | |
| virtual const string & | ArcType () const |
| virtual const string & | FstType () const |
| virtual const SymbolTable * | InputSymbols () const |
| virtual const SymbolTable * | OutputSymbols () const |
| virtual const string & | WeightType () const |
| virtual void | Write (const string &fname) const |
| virtual uint64 | Properties (uint64 mask, bool test) const |
| template<class Arc > | |
| const Fst< Arc > * | GetFst () const |
| virtual | ~FstClass () |
Static Public Member Functions | |
| template<class Arc > | |
| static FstClass * | Read (istream &stream, const FstReadOptions &opts) |
| static FstClass * | Read (const string &fname) |
| template<class Arc > | |
| static FstClassImplBase * | Convert (const FstClass &other) |
| These methods are required by IO registration. | |
| template<class Arc > | |
| static FstClassImplBase * | Create () |
Protected Member Functions | |
| FstClass (FstClassImplBase *impl) | |
| FstClassImplBase * | GetImpl () |
Static Protected Member Functions | |
| template<class FstClassT , class UnderlyingT > | |
| static FstClassT * | ReadTypedFst (istream &stream, const FstReadOptions &opts) |
Definition at line 139 of file fst-class.h.
| fst::script::FstClass::FstClass | ( | Fst< Arc > * | fst | ) | [inline, explicit] |
Definition at line 155 of file fst-class.h.
| fst::script::FstClass::FstClass | ( | const FstClass & | other | ) | [inline, explicit] |
Definition at line 157 of file fst-class.h.
| virtual fst::script::FstClass::~FstClass | ( | ) | [inline, virtual] |
Definition at line 199 of file fst-class.h.
| fst::script::FstClass::FstClass | ( | FstClassImplBase * | impl | ) | [inline, explicit, protected] |
Definition at line 215 of file fst-class.h.
| virtual const string& fst::script::FstClass::ArcType | ( | ) | const [inline, virtual] |
Implements fst::script::FstClassBase.
Definition at line 161 of file fst-class.h.
| static FstClassImplBase* fst::script::FstClass::Convert | ( | const FstClass & | other | ) | [inline, static] |
These methods are required by IO registration.
Reimplemented in fst::script::MutableFstClass, and fst::script::VectorFstClass.
Definition at line 203 of file fst-class.h.
| static FstClassImplBase* fst::script::FstClass::Create | ( | ) | [inline, static] |
Reimplemented in fst::script::MutableFstClass, and fst::script::VectorFstClass.
Definition at line 209 of file fst-class.h.
| virtual const string& fst::script::FstClass::FstType | ( | ) | const [inline, virtual] |
Implements fst::script::FstClassBase.
Definition at line 165 of file fst-class.h.
| const Fst<Arc>* fst::script::FstClass::GetFst | ( | ) | const [inline] |
Definition at line 190 of file fst-class.h.
| FstClassImplBase* fst::script::FstClass::GetImpl | ( | ) | [inline, protected] |
Definition at line 233 of file fst-class.h.
| virtual const SymbolTable* fst::script::FstClass::InputSymbols | ( | ) | const [inline, virtual] |
Implements fst::script::FstClassBase.
Definition at line 169 of file fst-class.h.
| virtual const SymbolTable* fst::script::FstClass::OutputSymbols | ( | ) | const [inline, virtual] |
Implements fst::script::FstClassBase.
Definition at line 173 of file fst-class.h.
Implements fst::script::FstClassBase.
Definition at line 185 of file fst-class.h.
| FstClass * fst::script::FstClass::Read | ( | const string & | fname | ) | [static] |
Definition at line 71 of file fst-class.cc.
| static FstClass* fst::script::FstClass::Read | ( | istream & | stream, | |
| const FstReadOptions & | opts | |||
| ) | [inline, static] |
Reimplemented in fst::script::MutableFstClass, and fst::script::VectorFstClass.
Definition at line 142 of file fst-class.h.
| static FstClassT* fst::script::FstClass::ReadTypedFst | ( | istream & | stream, | |
| const FstReadOptions & | opts | |||
| ) | [inline, static, protected] |
Generic template method for reading an arc-templated FST of type UnderlyingT, and returning it wrapped as FstClassT, with appropriate error checking. Called from arc-templated Read() static methods.
Definition at line 221 of file fst-class.h.
| virtual const string& fst::script::FstClass::WeightType | ( | ) | const [inline, virtual] |
Implements fst::script::FstClassBase.
Definition at line 177 of file fst-class.h.
| virtual void fst::script::FstClass::Write | ( | const string & | fname | ) | const [inline, virtual] |
Implements fst::script::FstClassBase.
Definition at line 181 of file fst-class.h.
1.7.1