FST  openfst-1.7.9
OpenFst Library
Public Member Functions | Static Public Member Functions | List of all members
fst::EncodeMapper< Arc > Class Template Reference

#include <encode.h>

Public Member Functions

 EncodeMapper (uint8 flags, EncodeType type=ENCODE)
 
 EncodeMapper (const EncodeMapper &mapper)
 
 EncodeMapper (const EncodeMapper &mapper, EncodeType type)
 
Arc operator() (const Arc &arc)
 
MapFinalAction FinalAction () const
 
constexpr MapSymbolsAction InputSymbolsAction () const
 
constexpr MapSymbolsAction OutputSymbolsAction () const
 
uint8 Flags () const
 
uint64 Properties (uint64 inprops)
 
EncodeType Type () const
 
bool Write (std::ostream &strm, const std::string &source) const
 
bool Write (const std::string &source) const
 
const SymbolTableInputSymbols () const
 
const SymbolTableOutputSymbols () const
 
void SetInputSymbols (const SymbolTable *syms)
 
void SetOutputSymbols (const SymbolTable *syms)
 

Static Public Member Functions

static EncodeMapperRead (std::istream &strm, const std::string &source, EncodeType type=ENCODE)
 
static EncodeMapperRead (const std::string &source, EncodeType type=ENCODE)
 

Detailed Description

template<class Arc>
class fst::EncodeMapper< Arc >

Definition at line 293 of file encode.h.

Constructor & Destructor Documentation

template<class Arc>
fst::EncodeMapper< Arc >::EncodeMapper ( uint8  flags,
EncodeType  type = ENCODE 
)
inlineexplicit

Definition at line 298 of file encode.h.

template<class Arc>
fst::EncodeMapper< Arc >::EncodeMapper ( const EncodeMapper< Arc > &  mapper)
inline

Definition at line 304 of file encode.h.

template<class Arc>
fst::EncodeMapper< Arc >::EncodeMapper ( const EncodeMapper< Arc > &  mapper,
EncodeType  type 
)
inline

Definition at line 311 of file encode.h.

Member Function Documentation

template<class Arc>
MapFinalAction fst::EncodeMapper< Arc >::FinalAction ( ) const
inline

Definition at line 319 of file encode.h.

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

Definition at line 333 of file encode.h.

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

Definition at line 382 of file encode.h.

template<class Arc>
constexpr MapSymbolsAction fst::EncodeMapper< Arc >::InputSymbolsAction ( ) const
inline

Definition at line 325 of file encode.h.

template<class Arc >
Arc fst::EncodeMapper< Arc >::operator() ( const Arc &  arc)

Definition at line 408 of file encode.h.

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

Definition at line 384 of file encode.h.

template<class Arc>
constexpr MapSymbolsAction fst::EncodeMapper< Arc >::OutputSymbolsAction ( ) const
inline

Definition at line 329 of file encode.h.

template<class Arc>
uint64 fst::EncodeMapper< Arc >::Properties ( uint64  inprops)
inline

Definition at line 335 of file encode.h.

template<class Arc>
static EncodeMapper* fst::EncodeMapper< Arc >::Read ( std::istream &  strm,
const std::string &  source,
EncodeType  type = ENCODE 
)
inlinestatic

Definition at line 352 of file encode.h.

template<class Arc>
static EncodeMapper* fst::EncodeMapper< Arc >::Read ( const std::string &  source,
EncodeType  type = ENCODE 
)
inlinestatic

Definition at line 358 of file encode.h.

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

Definition at line 386 of file encode.h.

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

Definition at line 390 of file encode.h.

template<class Arc>
EncodeType fst::EncodeMapper< Arc >::Type ( ) const
inline

Definition at line 350 of file encode.h.

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

Definition at line 368 of file encode.h.

template<class Arc>
bool fst::EncodeMapper< Arc >::Write ( const std::string &  source) const
inline

Definition at line 372 of file encode.h.


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