FST  openfst-1.8.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 (uint8_t 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_t Flags () const
 
uint64_t Properties (uint64_t inprops)
 
EncodeType Type () const
 
bool Write (std::ostream &strm, std::string_view source) const
 
bool Write (std::string_view 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, std::string_view source, EncodeType type=ENCODE)
 
static EncodeMapperRead (std::string_view source, EncodeType type=ENCODE)
 

Detailed Description

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

Definition at line 325 of file encode.h.

Constructor & Destructor Documentation

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

Definition at line 330 of file encode.h.

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

Definition at line 336 of file encode.h.

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

Definition at line 343 of file encode.h.

Member Function Documentation

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

Definition at line 351 of file encode.h.

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

Definition at line 365 of file encode.h.

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

Definition at line 425 of file encode.h.

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

Definition at line 357 of file encode.h.

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

Definition at line 451 of file encode.h.

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

Definition at line 427 of file encode.h.

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

Definition at line 361 of file encode.h.

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

Definition at line 367 of file encode.h.

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

Definition at line 394 of file encode.h.

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

Definition at line 400 of file encode.h.

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

Definition at line 429 of file encode.h.

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

Definition at line 433 of file encode.h.

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

Definition at line 392 of file encode.h.

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

Definition at line 411 of file encode.h.

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

Definition at line 415 of file encode.h.


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