FST  openfst-1.8.3
OpenFst Library
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
fst::internal::EncodeTable< Arc > Class Template Reference

#include <encode.h>

Classes

struct  Triple
 
struct  TripleEqual
 
class  TripleHash
 

Public Types

using Label = typename Arc::Label
 
using Weight = typename Arc::Weight
 

Public Member Functions

 EncodeTable (uint8_t flags)
 
Label Encode (const Arc &arc)
 
const TripleDecode (Label label) const
 
size_t Size () const
 
bool Write (std::ostream &strm, std::string_view source) const
 
uint8_t Flags () const
 
const SymbolTableInputSymbols () const
 
const SymbolTableOutputSymbols () const
 
void SetInputSymbols (const SymbolTable *syms)
 
void SetOutputSymbols (const SymbolTable *syms)
 

Static Public Member Functions

static EncodeTableRead (std::istream &strm, std::string_view source)
 

Detailed Description

template<class Arc>
class fst::internal::EncodeTable< Arc >

Definition at line 115 of file encode.h.

Member Typedef Documentation

template<class Arc>
using fst::internal::EncodeTable< Arc >::Label = typename Arc::Label

Definition at line 117 of file encode.h.

template<class Arc>
using fst::internal::EncodeTable< Arc >::Weight = typename Arc::Weight

Definition at line 118 of file encode.h.

Constructor & Destructor Documentation

template<class Arc>
fst::internal::EncodeTable< Arc >::EncodeTable ( uint8_t  flags)
inlineexplicit

Definition at line 185 of file encode.h.

Member Function Documentation

template<class Arc>
const Triple* fst::internal::EncodeTable< Arc >::Decode ( Label  label) const
inline

Definition at line 201 of file encode.h.

template<class Arc>
Label fst::internal::EncodeTable< Arc >::Encode ( const Arc &  arc)
inline

Definition at line 189 of file encode.h.

template<class Arc>
uint8_t fst::internal::EncodeTable< Arc >::Flags ( ) const
inline

Definition at line 217 of file encode.h.

template<class Arc>
const SymbolTable* fst::internal::EncodeTable< Arc >::InputSymbols ( ) const
inline

Definition at line 219 of file encode.h.

template<class Arc>
const SymbolTable* fst::internal::EncodeTable< Arc >::OutputSymbols ( ) const
inline

Definition at line 221 of file encode.h.

template<class Arc >
EncodeTable< Arc > * fst::internal::EncodeTable< Arc >::Read ( std::istream &  strm,
std::string_view  source 
)
static

Definition at line 263 of file encode.h.

template<class Arc>
void fst::internal::EncodeTable< Arc >::SetInputSymbols ( const SymbolTable syms)
inline

Definition at line 223 of file encode.h.

template<class Arc>
void fst::internal::EncodeTable< Arc >::SetOutputSymbols ( const SymbolTable syms)
inline

Definition at line 233 of file encode.h.

template<class Arc>
size_t fst::internal::EncodeTable< Arc >::Size ( ) const
inline

Definition at line 209 of file encode.h.

template<class Arc >
bool fst::internal::EncodeTable< Arc >::Write ( std::ostream &  strm,
std::string_view  source 
) const

Definition at line 288 of file encode.h.


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