FST
openfst-1.8.2
OpenFst Library
|
#include <const-fst.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Impl = internal::ConstFstImpl< A, Unsigned > |
using | ConstState = typename Impl::ConstState |
![]() | |
using | Arc = typename ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::ConstFstImpl< A, Unsigned >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
![]() | |
using | Arc = typename internal::ConstFstImpl< A, Unsigned >::Arc |
using | StateId = typename Arc::StateId |
![]() | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Member Functions | |
template<class F , class G > | |
void friend | Cast (const F &, G *) |
ConstFst () | |
ConstFst (const Fst< Arc > &fst) | |
ConstFst (const ConstFst &fst, bool unused_safe=false) | |
ConstFst * | Copy (bool safe=false) const override |
bool | Write (std::ostream &strm, const FstWriteOptions &opts) const override |
bool | Write (const std::string &source) const override |
void | InitStateIterator (StateIteratorData< Arc > *data) const override |
void | InitArcIterator (StateId s, ArcIteratorData< Arc > *data) const override |
![]() | |
StateId | NumStates () const override |
![]() | |
StateId | Start () const override |
Weight | Final (StateId s) const override |
size_t | NumArcs (StateId s) const override |
size_t | NumInputEpsilons (StateId s) const override |
size_t | NumOutputEpsilons (StateId s) const override |
uint64_t | Properties (uint64_t mask, bool test) const override |
const std::string & | Type () const override |
const SymbolTable * | InputSymbols () const override |
const SymbolTable * | OutputSymbols () const override |
![]() | |
virtual | ~Fst () |
virtual MatcherBase< Arc > * | InitMatcher (MatchType match_type) const |
Static Public Member Functions | |
static ConstFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static ConstFst * | Read (const std::string &source) |
template<class FST > | |
static bool | WriteFst (const FST &fst, std::ostream &strm, const FstWriteOptions &opts) |
![]() | |
static ExpandedFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static ExpandedFst * | Read (const std::string &source) |
![]() | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (const std::string &source) |
Friends | |
class | StateIterator< ConstFst< Arc, Unsigned > > |
class | ArcIterator< ConstFst< Arc, Unsigned > > |
Additional Inherited Members | |
![]() | |
ImplToExpandedFst (std::shared_ptr< internal::ConstFstImpl< A, Unsigned > > impl) | |
ImplToExpandedFst (const ImplToExpandedFst &fst, bool safe) | |
![]() | |
ImplToFst (std::shared_ptr< internal::ConstFstImpl< A, Unsigned > > impl) | |
ImplToFst (const ImplToFst &fst, bool safe) | |
ImplToFst ()=delete | |
ImplToFst (const ImplToFst &fst) | |
ImplToFst (ImplToFst &&fst) noexcept | |
ImplToFst & | operator= (const ImplToFst &fst) |
ImplToFst & | operator= (ImplToFst &&fst) noexcept |
const internal::ConstFstImpl< A, Unsigned > * | GetImpl () const |
internal::ConstFstImpl< A, Unsigned > * | GetMutableImpl () const |
std::shared_ptr< internal::ConstFstImpl< A, Unsigned > > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< internal::ConstFstImpl< A, Unsigned > > impl) |
![]() | |
bool | WriteFile (const std::string &source) const |
![]() | |
static internal::ConstFstImpl< A, Unsigned > * | Read (std::istream &strm, const FstReadOptions &opts) |
static internal::ConstFstImpl< A, Unsigned > * | Read (const std::string &source) |
Definition at line 40 of file const-fst.h.
using fst::ConstFst< A, Unsigned >::Arc = A |
Definition at line 236 of file const-fst.h.
using fst::ConstFst< A, Unsigned >::ConstState = typename Impl::ConstState |
Definition at line 240 of file const-fst.h.
using fst::ConstFst< A, Unsigned >::Impl = internal::ConstFstImpl<A, Unsigned> |
Definition at line 239 of file const-fst.h.
using fst::ConstFst< A, Unsigned >::StateId = typename Arc::StateId |
Definition at line 237 of file const-fst.h.
|
inline |
Definition at line 248 of file const-fst.h.
|
inlineexplicit |
Definition at line 250 of file const-fst.h.
|
inline |
Definition at line 253 of file const-fst.h.
void friend fst::ConstFst< A, Unsigned >::Cast | ( | const F & | , |
G * | |||
) |
|
inlineoverridevirtual |
Implements fst::ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc >.
Definition at line 257 of file const-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< A >.
Definition at line 290 of file const-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< A >.
Definition at line 286 of file const-fst.h.
|
inlinestatic |
Definition at line 262 of file const-fst.h.
|
inlinestatic |
Definition at line 269 of file const-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 274 of file const-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 278 of file const-fst.h.
|
static |
Definition at line 318 of file const-fst.h.
|
friend |
Definition at line 243 of file const-fst.h.
|
friend |
Definition at line 242 of file const-fst.h.