FST  openfst-1.7.3
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 (uint32 flags, EncodeType type)
 
 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
 
uint64 Properties (uint64 inprops)
 
uint32 Flags () const
 
EncodeType Type () const
 
bool Write (std::ostream &strm, const std::string &source) const
 
bool Write (const std::string &filename) const
 
const SymbolTableInputSymbols () const
 
const SymbolTableOutputSymbols () const
 
void SetInputSymbols (const SymbolTable *syms)
 
void SetOutputSymbols (const SymbolTable *syms)
 

Static Public Member Functions

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

Detailed Description

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

Definition at line 260 of file encode.h.

Constructor & Destructor Documentation

template<class Arc>
fst::EncodeMapper< Arc >::EncodeMapper ( uint32  flags,
EncodeType  type 
)
inline

Definition at line 265 of file encode.h.

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

Definition at line 271 of file encode.h.

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

Definition at line 278 of file encode.h.

Member Function Documentation

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

Definition at line 286 of file encode.h.

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

Definition at line 315 of file encode.h.

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

Definition at line 350 of file encode.h.

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

Definition at line 292 of file encode.h.

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

Definition at line 376 of file encode.h.

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

Definition at line 352 of file encode.h.

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

Definition at line 296 of file encode.h.

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

Definition at line 300 of file encode.h.

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

Definition at line 333 of file encode.h.

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

Definition at line 339 of file encode.h.

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

Definition at line 354 of file encode.h.

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

Definition at line 358 of file encode.h.

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

Definition at line 317 of file encode.h.

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

Definition at line 319 of file encode.h.

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

Definition at line 323 of file encode.h.


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