FST  openfst-1.8.3
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 &fst, bool safe=false)
 
InvertFstCopy (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=InvertMapper< A >(), const ArcMapFstOptions &opts=ArcMapFstOptions())
 
 ArcMapFst (const Fst< A > &fst, InvertMapper< A > *mapper, const ArcMapFstOptions &opts=ArcMapFstOptions())
 
 ArcMapFst (const ArcMapFst &fst, bool safe=false)
 
ArcMapFstCopy (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_t Properties (uint64_t mask, bool test) const override
 
const std::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 &fst, bool safe)
 
 ImplToFst ()=delete
 
 ImplToFst (const ImplToFst &fst)
 
 ImplToFst (ImplToFst &&fst) noexcept
 
ImplToFstoperator= (const ImplToFst &fst)
 
ImplToFstoperator= (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)
 

Detailed Description

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

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

Member Typedef Documentation

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

Definition at line 109 of file invert.h.

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

Definition at line 112 of file invert.h.

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

Definition at line 111 of file invert.h.

Constructor & Destructor Documentation

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

Definition at line 114 of file invert.h.

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

Definition at line 120 of file invert.h.

Member Function Documentation

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

Definition at line 124 of file invert.h.


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