FST  openfst-1.7.7
OpenFst Library
Public Member Functions | Static Public Member Functions | List of all members
fst::script::EncodeMapperClass Class Reference

#include <encodemapper-class.h>

Public Member Functions

 EncodeMapperClass ()
 
 EncodeMapperClass (const std::string &arc_type, uint8 flags, EncodeType type=ENCODE)
 
template<class Arc >
 EncodeMapperClass (const EncodeMapper< Arc > &mapper)
 
 EncodeMapperClass (const EncodeMapperClass &other)
 
EncodeMapperClassoperator= (const EncodeMapperClass &other)
 
ArcClass operator() (const ArcClass &arc)
 
const std::string & ArcType () const
 
const std::string & WeightType () const
 
uint8 Flags () const
 
uint64 Properties (uint64 inprops)
 
EncodeType Type () const
 
bool Write (const std::string &source) const
 
bool Write (std::ostream &strm, const std::string &source) const
 
const SymbolTableInputSymbols () const
 
const SymbolTableOutputSymbols () const
 
void SetInputSymbols (const SymbolTable *syms)
 
void SetOutputSymbols (const SymbolTable *syms)
 
template<class Arc >
EncodeMapper< Arc > * GetEncodeMapper ()
 
template<class Arc >
const EncodeMapper< Arc > * GetEncodeMapper () const
 

Static Public Member Functions

static EncodeMapperClassRead (const std::string &source)
 
static EncodeMapperClassRead (std::istream &strm, const std::string &source)
 
template<class Arc >
static EncodeMapperClassRead (std::istream &strm, const std::string &source)
 
template<class Arc >
static EncodeMapperImplBaseCreate (uint8 flags, EncodeType type=ENCODE)
 

Detailed Description

Definition at line 108 of file encodemapper-class.h.

Constructor & Destructor Documentation

fst::script::EncodeMapperClass::EncodeMapperClass ( )
inline

Definition at line 110 of file encodemapper-class.h.

fst::script::EncodeMapperClass::EncodeMapperClass ( const std::string &  arc_type,
uint8  flags,
EncodeType  type = ENCODE 
)

Definition at line 54 of file encodemapper-class.cc.

template<class Arc >
fst::script::EncodeMapperClass::EncodeMapperClass ( const EncodeMapper< Arc > &  mapper)
inlineexplicit

Definition at line 116 of file encodemapper-class.h.

fst::script::EncodeMapperClass::EncodeMapperClass ( const EncodeMapperClass other)
inline

Definition at line 119 of file encodemapper-class.h.

Member Function Documentation

const std::string& fst::script::EncodeMapperClass::ArcType ( ) const
inline

Definition at line 129 of file encodemapper-class.h.

template<class Arc >
static EncodeMapperImplBase* fst::script::EncodeMapperClass::Create ( uint8  flags,
EncodeType  type = ENCODE 
)
inlinestatic

Definition at line 194 of file encodemapper-class.h.

uint8 fst::script::EncodeMapperClass::Flags ( ) const
inline

Definition at line 133 of file encodemapper-class.h.

template<class Arc >
EncodeMapper<Arc>* fst::script::EncodeMapperClass::GetEncodeMapper ( )
inline

Definition at line 164 of file encodemapper-class.h.

template<class Arc >
const EncodeMapper<Arc>* fst::script::EncodeMapperClass::GetEncodeMapper ( ) const
inline

Definition at line 174 of file encodemapper-class.h.

const SymbolTable* fst::script::EncodeMapperClass::InputSymbols ( ) const
inline

Definition at line 149 of file encodemapper-class.h.

ArcClass fst::script::EncodeMapperClass::operator() ( const ArcClass arc)
inline

Definition at line 127 of file encodemapper-class.h.

EncodeMapperClass& fst::script::EncodeMapperClass::operator= ( const EncodeMapperClass other)
inline

Definition at line 122 of file encodemapper-class.h.

const SymbolTable* fst::script::EncodeMapperClass::OutputSymbols ( ) const
inline

Definition at line 151 of file encodemapper-class.h.

uint64 fst::script::EncodeMapperClass::Properties ( uint64  inprops)
inline

Definition at line 135 of file encodemapper-class.h.

EncodeMapperClass * fst::script::EncodeMapperClass::Read ( const std::string &  source)
static

Definition at line 58 of file encodemapper-class.cc.

EncodeMapperClass * fst::script::EncodeMapperClass::Read ( std::istream &  strm,
const std::string &  source 
)
static

Definition at line 67 of file encodemapper-class.cc.

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

Definition at line 186 of file encodemapper-class.h.

void fst::script::EncodeMapperClass::SetInputSymbols ( const SymbolTable syms)
inline

Definition at line 153 of file encodemapper-class.h.

void fst::script::EncodeMapperClass::SetOutputSymbols ( const SymbolTable syms)
inline

Definition at line 157 of file encodemapper-class.h.

EncodeType fst::script::EncodeMapperClass::Type ( ) const
inline

Definition at line 137 of file encodemapper-class.h.

const std::string& fst::script::EncodeMapperClass::WeightType ( ) const
inline

Definition at line 131 of file encodemapper-class.h.

bool fst::script::EncodeMapperClass::Write ( const std::string &  source) const
inline

Definition at line 143 of file encodemapper-class.h.

bool fst::script::EncodeMapperClass::Write ( std::ostream &  strm,
const std::string &  source 
) const
inline

Definition at line 145 of file encodemapper-class.h.


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