FST  openfst-1.7.2
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::InvertFst< A > Class Template Reference

#include <fst-decl.h>

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

Public Types

using Arc = A
 
using Mapper = InvertMapper< Arc >
 
using Impl = internal::ArcMapFstImpl< A, A, InvertMapper< A >>
 
- Public Types inherited from fst::ArcMapFst< A, A, InvertMapper< A > >
using Arc = A
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Store = DefaultCacheStore< A >
 
using State = typename Store::State
 
using Impl = internal::ArcMapFstImpl< A, A, InvertMapper< A > >
 
- Public Types inherited from fst::ImplToFst< Impl, FST >
using Arc = typename Impl::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 InvertFst (const Fst< Arc > &fst)
 
 InvertFst (const InvertFst< Arc > &fst, bool safe=false)
 
InvertFst< Arc > * Copy (bool safe=false) const override
 
- Public Member Functions inherited from fst::ArcMapFst< A, A, InvertMapper< A > >
 ArcMapFst (const Fst< A > &fst, const InvertMapper< A > &mapper, const ArcMapFstOptions &opts)
 
 ArcMapFst (const Fst< A > &fst, InvertMapper< A > *mapper, const ArcMapFstOptions &opts)
 
 ArcMapFst (const Fst< A > &fst, const InvertMapper< A > &mapper)
 
 ArcMapFst (const Fst< A > &fst, InvertMapper< A > *mapper)
 
 ArcMapFst (const ArcMapFst< A, A, InvertMapper< A > > &fst, bool safe=false)
 
ArcMapFst< A, A, InvertMapper< A > > * Copy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< A > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< A > *data) const override
 
- Public Member Functions inherited from fst::ImplToFst< Impl, FST >
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 Properties (uint64 mask, bool test) const override
 
const string & Type () const override
 
const SymbolTableInputSymbols () const override
 
const SymbolTableOutputSymbols () const override
 

Additional Inherited Members

- Protected Member Functions inherited from fst::ImplToFst< Impl, FST >
 ImplToFst (std::shared_ptr< Impl > impl)
 
 ImplToFst (const ImplToFst< Impl, FST > &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst< Impl, FST > &fst)
 
 ImplToFst (ImplToFst< Impl, FST > &&fst) noexcept
 
ImplToFst< Impl, FST > & operator= (const ImplToFst< Impl, FST > &fst)
 
ImplToFst< Impl, FST > & operator= (ImplToFst< Impl, FST > &&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)
 

Detailed Description

template<class A>
class fst::InvertFst< A >

Definition at line 116 of file fst-decl.h.

Member Typedef Documentation

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

Definition at line 90 of file invert.h.

template<class A>
using fst::InvertFst< A >::Impl = internal::ArcMapFstImpl<A, A, InvertMapper<A>>

Definition at line 93 of file invert.h.

template<class A>
using fst::InvertFst< A >::Mapper = InvertMapper<Arc>

Definition at line 92 of file invert.h.

Constructor & Destructor Documentation

template<class A>
fst::InvertFst< A >::InvertFst ( const Fst< Arc > &  fst)
inlineexplicit

Definition at line 95 of file invert.h.

template<class A>
fst::InvertFst< A >::InvertFst ( const InvertFst< Arc > &  fst,
bool  safe = false 
)
inline

Definition at line 102 of file invert.h.

Member Function Documentation

template<class A>
InvertFst<Arc>* fst::InvertFst< A >::Copy ( bool  safe = false) const
inlineoverride

Definition at line 106 of file invert.h.


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