FST  openfst-1.8.2
OpenFst Library
Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
fst::ImplToFst< Impl, FST > Class Template Reference

#include <fst.h>

Inheritance diagram for fst::ImplToFst< Impl, FST >:
Inheritance graph
[legend]
Collaboration diagram for fst::ImplToFst< Impl, FST >:
Collaboration graph
[legend]

Public Types

using Arc = typename Impl::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

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
 

Protected Member Functions

 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)
 

Friends

template<class IFST , class OFST >
void Cast (const IFST &ifst, OFST *ofst)
 

Detailed Description

template<class Impl, class FST = Fst<typename Impl::Arc>>
class fst::ImplToFst< Impl, FST >

Definition at line 944 of file fst.h.

Member Typedef Documentation

template<class Impl, class FST = Fst<typename Impl::Arc>>
using fst::ImplToFst< Impl, FST >::Arc = typename Impl::Arc

Definition at line 946 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
using fst::ImplToFst< Impl, FST >::StateId = typename Arc::StateId

Definition at line 947 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
using fst::ImplToFst< Impl, FST >::Weight = typename Arc::Weight

Definition at line 948 of file fst.h.

Constructor & Destructor Documentation

template<class Impl, class FST = Fst<typename Impl::Arc>>
fst::ImplToFst< Impl, FST >::ImplToFst ( std::shared_ptr< Impl >  impl)
inlineexplicitprotected

Definition at line 990 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
fst::ImplToFst< Impl, FST >::ImplToFst ( const ImplToFst< Impl, FST > &  fst,
bool  safe 
)
inlineprotected

Definition at line 996 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
fst::ImplToFst< Impl, FST >::ImplToFst ( )
protecteddelete
template<class Impl, class FST = Fst<typename Impl::Arc>>
fst::ImplToFst< Impl, FST >::ImplToFst ( const ImplToFst< Impl, FST > &  fst)
inlineprotected

Definition at line 1006 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
fst::ImplToFst< Impl, FST >::ImplToFst ( ImplToFst< Impl, FST > &&  fst)
inlineprotectednoexcept

Definition at line 1008 of file fst.h.

Member Function Documentation

template<class Impl, class FST = Fst<typename Impl::Arc>>
Weight fst::ImplToFst< Impl, FST >::Final ( StateId  s) const
inlineoverride

Definition at line 952 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
const Impl* fst::ImplToFst< Impl, FST >::GetImpl ( ) const
inlineprotected

Definition at line 1026 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
Impl* fst::ImplToFst< Impl, FST >::GetMutableImpl ( ) const
inlineprotected

Definition at line 1028 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
std::shared_ptr<Impl> fst::ImplToFst< Impl, FST >::GetSharedImpl ( ) const
inlineprotected

Definition at line 1031 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
const SymbolTable* fst::ImplToFst< Impl, FST >::InputSymbols ( ) const
inlineoverride
template<class Impl, class FST = Fst<typename Impl::Arc>>
size_t fst::ImplToFst< Impl, FST >::NumArcs ( StateId  s) const
inlineoverride

Definition at line 954 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
size_t fst::ImplToFst< Impl, FST >::NumInputEpsilons ( StateId  s) const
inlineoverride

Definition at line 956 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
size_t fst::ImplToFst< Impl, FST >::NumOutputEpsilons ( StateId  s) const
inlineoverride

Definition at line 960 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
ImplToFst& fst::ImplToFst< Impl, FST >::operator= ( const ImplToFst< Impl, FST > &  fst)
inlineprotected

Definition at line 1012 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
ImplToFst& fst::ImplToFst< Impl, FST >::operator= ( ImplToFst< Impl, FST > &&  fst)
inlineprotectednoexcept

Definition at line 1017 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
const SymbolTable* fst::ImplToFst< Impl, FST >::OutputSymbols ( ) const
inlineoverride
template<class Impl, class FST = Fst<typename Impl::Arc>>
uint64_t fst::ImplToFst< Impl, FST >::Properties ( uint64_t  mask,
bool  test 
) const
inlineoverride

Definition at line 966 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
void fst::ImplToFst< Impl, FST >::SetImpl ( std::shared_ptr< Impl >  impl)
inlineprotected

Definition at line 1035 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
StateId fst::ImplToFst< Impl, FST >::Start ( ) const
inlineoverride

Definition at line 950 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
const std::string& fst::ImplToFst< Impl, FST >::Type ( ) const
inlineoverride

Definition at line 979 of file fst.h.

template<class Impl, class FST = Fst<typename Impl::Arc>>
bool fst::ImplToFst< Impl, FST >::Unique ( ) const
inlineprotected

Definition at line 1033 of file fst.h.

Friends And Related Function Documentation

template<class Impl, class FST = Fst<typename Impl::Arc>>
template<class IFST , class OFST >
void Cast ( const IFST &  ifst,
OFST *  ofst 
)
friend

Definition at line 1052 of file fst.h.


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