FST
openfst-1.8.4
OpenFst Library
|
#include <const-fst.h>
Public Types | |
using | Arc = A |
using | StateId = typename Arc::StateId |
using | ConstState = typename Impl::ConstState |
using | Impl = I |
Public Types inherited from fst::ImplToExpandedFst< internal::ConstFstImpl< A, Unsigned > > | |
using | Impl = internal::ConstFstImpl< A, Unsigned > |
using | Arc = typename ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc >::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::ImplToFst< internal::ConstFstImpl< A, Unsigned >, ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc > > | |
using | Impl = internal::ConstFstImpl< A, Unsigned > |
using | Arc = typename Impl::Arc |
using | StateId = typename Arc::StateId |
using | Weight = typename Arc::Weight |
Public Types inherited from fst::ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc > | |
using | Arc = typename internal::ConstFstImpl< A, Unsigned >::Arc |
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 | |
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 |
Public Member Functions inherited from fst::ImplToExpandedFst< internal::ConstFstImpl< A, Unsigned > > | |
StateId | NumStates () const override |
Public Member Functions inherited from fst::ImplToFst< internal::ConstFstImpl< A, Unsigned >, ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc > > | |
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 |
Public Member Functions inherited from fst::ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc > | |
std::optional< StateId > | NumStatesIfKnown () const override |
Public Member Functions inherited from fst::Fst< A > | |
virtual | ~Fst ()=default |
virtual MatcherBase< Arc > * | InitMatcher (MatchType match_type) const |
Static Public Member Functions | |
static ConstFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static ConstFst * | Read (std::string_view source) |
template<class FST > | |
static bool | WriteFst (const FST &fst, std::ostream &strm, const FstWriteOptions &opts) |
Static Public Member Functions inherited from fst::ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc > | |
static ExpandedFst * | Read (std::istream &strm, const FstReadOptions &opts) |
static ExpandedFst * | Read (std::string_view source) |
Static Public Member Functions inherited from fst::Fst< A > | |
static Fst * | Read (std::istream &strm, const FstReadOptions &opts) |
static Fst * | Read (std::string_view source) |
Friends | |
class | StateIterator< ConstFst< Arc, Unsigned > > |
class | ArcIterator< ConstFst< Arc, Unsigned > > |
Additional Inherited Members | |
Protected Member Functions inherited from fst::ImplToExpandedFst< internal::ConstFstImpl< A, Unsigned > > | |
ImplToExpandedFst (std::shared_ptr< Impl > impl) | |
ImplToExpandedFst (const ImplToExpandedFst &fst, bool safe) | |
Protected Member Functions inherited from fst::ImplToFst< internal::ConstFstImpl< A, Unsigned >, ExpandedFst< typename internal::ConstFstImpl< A, Unsigned >::Arc > > | |
ImplToFst (std::shared_ptr< Impl > 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 Impl * | GetImpl () const |
Impl * | GetMutableImpl () const |
std::shared_ptr< Impl > | GetSharedImpl () const |
bool | Unique () const |
void | SetImpl (std::shared_ptr< Impl > impl) |
Protected Member Functions inherited from fst::Fst< A > | |
bool | WriteFile (const std::string &source) const |
Static Protected Member Functions inherited from fst::ImplToExpandedFst< internal::ConstFstImpl< A, Unsigned > > | |
static Impl * | Read (std::istream &strm, const FstReadOptions &opts) |
static Impl * | Read (std::string_view source) |
Definition at line 50 of file const-fst.h.
using fst::ConstFst< A, Unsigned >::Arc = A |
Definition at line 248 of file const-fst.h.
using fst::ConstFst< A, Unsigned >::ConstState = typename Impl::ConstState |
Definition at line 252 of file const-fst.h.
using fst::ImplToExpandedFst< I, FST >::Impl = I |
Definition at line 142 of file expanded-fst.h.
using fst::ConstFst< A, Unsigned >::StateId = typename Arc::StateId |
Definition at line 249 of file const-fst.h.
|
inline |
Definition at line 260 of file const-fst.h.
|
inlineexplicit |
Definition at line 262 of file const-fst.h.
|
inline |
Definition at line 264 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 268 of file const-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< A >.
Definition at line 301 of file const-fst.h.
|
inlineoverridevirtual |
Implements fst::Fst< A >.
Definition at line 297 of file const-fst.h.
|
inlinestatic |
Definition at line 273 of file const-fst.h.
|
inlinestatic |
Definition at line 280 of file const-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 285 of file const-fst.h.
|
inlineoverridevirtual |
Reimplemented from fst::Fst< A >.
Definition at line 289 of file const-fst.h.
|
static |
Definition at line 328 of file const-fst.h.
|
friend |
Definition at line 255 of file const-fst.h.
|
friend |
Definition at line 254 of file const-fst.h.