FST  openfst-1.6.9
OpenFst Library
Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::ExpandedFst< A > Class Template Referenceabstract

#include <expanded-fst.h>

Inheritance diagram for fst::ExpandedFst< A >:
Inheritance graph
[legend]
Collaboration diagram for fst::ExpandedFst< A >:
Collaboration graph
[legend]

Public Types

using Arc = A
 
using StateId = typename Arc::StateId
 
- Public Types inherited from fst::Fst< A >
using Arc = A
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

virtual StateId NumStates () const =0
 
ExpandedFst< Arc > * Copy (bool safe=false) const override=0
 
- Public Member Functions inherited from fst::Fst< A >
virtual ~Fst ()
 
virtual StateId Start () const =0
 
virtual Weight Final (StateId) const =0
 
virtual size_t NumArcs (StateId) const =0
 
virtual size_t NumInputEpsilons (StateId) const =0
 
virtual size_t NumOutputEpsilons (StateId) const =0
 
virtual uint64 Properties (uint64 mask, bool test) const =0
 
virtual const string & Type () const =0
 
virtual bool Write (std::ostream &strm, const FstWriteOptions &opts) const
 
virtual bool Write (const string &filename) const
 
virtual const SymbolTableInputSymbols () const =0
 
virtual const SymbolTableOutputSymbols () const =0
 
virtual void InitStateIterator (StateIteratorData< Arc > *data) const =0
 
virtual void InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const =0
 
virtual MatcherBase< Arc > * InitMatcher (MatchType match_type) const
 

Static Public Member Functions

static ExpandedFst< Arc > * Read (std::istream &strm, const FstReadOptions &opts)
 
static ExpandedFst< Arc > * Read (const string &filename)
 
- Static Public Member Functions inherited from fst::Fst< A >
static Fst< Arc > * Read (std::istream &strm, const FstReadOptions &opts)
 
static Fst< Arc > * Read (const string &filename)
 

Additional Inherited Members

- Protected Member Functions inherited from fst::Fst< A >
bool WriteFile (const string &filename) const
 

Detailed Description

template<class A>
class fst::ExpandedFst< A >

Definition at line 23 of file expanded-fst.h.

Member Typedef Documentation

template<class A>
using fst::ExpandedFst< A >::Arc = A

Definition at line 25 of file expanded-fst.h.

template<class A>
using fst::ExpandedFst< A >::StateId = typename Arc::StateId

Definition at line 26 of file expanded-fst.h.

Member Function Documentation

template<class A>
ExpandedFst<Arc>* fst::ExpandedFst< A >::Copy ( bool  safe = false) const
overridepure virtual
template<class A>
virtual StateId fst::ExpandedFst< A >::NumStates ( ) const
pure virtual
template<class A>
static ExpandedFst<Arc>* fst::ExpandedFst< A >::Read ( std::istream &  strm,
const FstReadOptions opts 
)
inlinestatic

Definition at line 34 of file expanded-fst.h.

template<class A>
static ExpandedFst<Arc>* fst::ExpandedFst< A >::Read ( const string &  filename)
inlinestatic

Definition at line 62 of file expanded-fst.h.


The documentation for this class was generated from the following file: