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

#include <encode.h>

Inheritance diagram for fst::EncodeFst< Arc >:
Inheritance graph
[legend]
Collaboration diagram for fst::EncodeFst< Arc >:
Collaboration graph
[legend]

Public Types

using Mapper = EncodeMapper< Arc >
 
using Impl = internal::ArcMapFstImpl< Arc, Arc, Mapper >
 
- Public Types inherited from fst::ArcMapFst< Arc, Arc, EncodeMapper< Arc > >
using Arc = Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Store = DefaultCacheStore< Arc >
 
using State = typename Store::State
 
using Impl = internal::ArcMapFstImpl< Arc, Arc, EncodeMapper< Arc > >
 
- 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

 EncodeFst (const Fst< Arc > &fst, Mapper *encoder)
 
 EncodeFst (const Fst< Arc > &fst, const Mapper &encoder)
 
 EncodeFst (const EncodeFst< Arc > &fst, bool copy=false)
 
EncodeFst< Arc > * Copy (bool safe=false) const override
 
- Public Member Functions inherited from fst::ArcMapFst< Arc, Arc, EncodeMapper< Arc > >
 ArcMapFst (const Fst< Arc > &fst, const EncodeMapper< Arc > &mapper, const ArcMapFstOptions &opts)
 
 ArcMapFst (const Fst< Arc > &fst, EncodeMapper< Arc > *mapper, const ArcMapFstOptions &opts)
 
 ArcMapFst (const Fst< Arc > &fst, const EncodeMapper< Arc > &mapper)
 
 ArcMapFst (const Fst< Arc > &fst, EncodeMapper< Arc > *mapper)
 
 ArcMapFst (const ArcMapFst< Arc, Arc, EncodeMapper< Arc > > &fst, bool safe=false)
 
ArcMapFst< Arc, Arc, EncodeMapper< Arc > > * Copy (bool safe=false) const override
 
void InitStateIterator (StateIteratorData< Arc > *data) const override
 
void InitArcIterator (StateId s, ArcIteratorData< Arc > *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 Arc>
class fst::EncodeFst< Arc >

Definition at line 444 of file encode.h.

Member Typedef Documentation

template<class Arc>
using fst::EncodeFst< Arc >::Impl = internal::ArcMapFstImpl<Arc, Arc, Mapper>

Definition at line 447 of file encode.h.

template<class Arc>
using fst::EncodeFst< Arc >::Mapper = EncodeMapper<Arc>

Definition at line 446 of file encode.h.

Constructor & Destructor Documentation

template<class Arc>
fst::EncodeFst< Arc >::EncodeFst ( const Fst< Arc > &  fst,
Mapper encoder 
)
inline

Definition at line 449 of file encode.h.

template<class Arc>
fst::EncodeFst< Arc >::EncodeFst ( const Fst< Arc > &  fst,
const Mapper encoder 
)
inline

Definition at line 455 of file encode.h.

template<class Arc>
fst::EncodeFst< Arc >::EncodeFst ( const EncodeFst< Arc > &  fst,
bool  copy = false 
)
inline

Definition at line 459 of file encode.h.

Member Function Documentation

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

Definition at line 463 of file encode.h.


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