FST  openfst-1.7.7
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 flags)
 
Label Encode (const Arc &arc)
 
const TripleDecode (Label label) const
 
size_t Size () const
 
bool Write (std::ostream &strm, const std::string &source) const
 
uint8 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, const std::string &source)
 

Detailed Description

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

Definition at line 84 of file encode.h.

Member Typedef Documentation

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

Definition at line 86 of file encode.h.

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

Definition at line 87 of file encode.h.

Constructor & Destructor Documentation

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

Definition at line 148 of file encode.h.

Member Function Documentation

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

Definition at line 164 of file encode.h.

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

Definition at line 152 of file encode.h.

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

Definition at line 180 of file encode.h.

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

Definition at line 182 of file encode.h.

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

Definition at line 184 of file encode.h.

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

Definition at line 226 of file encode.h.

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

Definition at line 186 of file encode.h.

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

Definition at line 196 of file encode.h.

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

Definition at line 172 of file encode.h.

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

Definition at line 251 of file encode.h.


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