FST  openfst-1.7.3
OpenFst Library
encodemapper-class.cc
Go to the documentation of this file.
1 // See www.openfst.org for extensive documentation on this weighted
2 // finite-state transducer library.
3 
5 
7 
8 namespace fst {
9 namespace script {
10 
11 EncodeMapperClass::EncodeMapperClass(const std::string &arc_type, uint32 flags,
12  EncodeType type)
13  : impl_(nullptr) {
14  InitEncodeMapperClassArgs args(flags, type, this);
15  Apply<Operation<InitEncodeMapperClassArgs>>("InitEncodeMapperClass",
16  arc_type, &args);
17 }
18 
25 
26 } // namespace script
27 } // namespace fst
std::tuple< uint32, EncodeType, EncodeMapperClass * > InitEncodeMapperClassArgs
friend void InitEncodeMapperClass(InitEncodeMapperClassArgs *args)
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
EncodeType
Definition: encode.h:25
EncodeMapperClass(const std::string &arc_type, uint32 flags, EncodeType type)
uint32_t uint32
Definition: types.h:31