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

#include <expanded-fst.h>

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

Public Types

using Arc = typename FST::Arc
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- 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

StateId NumStates () 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
 

Protected Member Functions

 ImplToExpandedFst (std::shared_ptr< Impl > impl)
 
 ImplToExpandedFst (const ImplToExpandedFst &fst, bool safe)
 
- 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)
 

Static Protected Member Functions

static Impl * Read (std::istream &strm, const FstReadOptions &opts)
 
static Impl * Read (std::string_view source)
 

Detailed Description

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
class fst::ImplToExpandedFst< Impl, FST >

Definition at line 138 of file expanded-fst.h.

Member Typedef Documentation

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
using fst::ImplToExpandedFst< Impl, FST >::Arc = typename FST::Arc

Definition at line 140 of file expanded-fst.h.

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
using fst::ImplToExpandedFst< Impl, FST >::StateId = typename Arc::StateId

Definition at line 141 of file expanded-fst.h.

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
using fst::ImplToExpandedFst< Impl, FST >::Weight = typename Arc::Weight

Definition at line 142 of file expanded-fst.h.

Constructor & Destructor Documentation

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

Definition at line 149 of file expanded-fst.h.

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

Definition at line 152 of file expanded-fst.h.

Member Function Documentation

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
StateId fst::ImplToExpandedFst< Impl, FST >::NumStates ( ) const
inlineoverride

Definition at line 144 of file expanded-fst.h.

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
static Impl* fst::ImplToExpandedFst< Impl, FST >::Read ( std::istream &  strm,
const FstReadOptions opts 
)
inlinestaticprotected

Definition at line 155 of file expanded-fst.h.

template<class Impl, class FST = ExpandedFst<typename Impl::Arc>>
static Impl* fst::ImplToExpandedFst< Impl, FST >::Read ( std::string_view  source)
inlinestaticprotected

Definition at line 161 of file expanded-fst.h.


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