FST  openfst-1.7.2
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 
6 
7 namespace fst {
8 namespace script {
9 
10 EncodeMapperClass::EncodeMapperClass(const string &arc_type, uint32 flags,
11  EncodeType type) : impl_(nullptr) {
12  InitEncodeMapperClassArgs args(flags, type, this);
13  Apply<Operation<InitEncodeMapperClassArgs>>("InitEncodeMapperClass",
14  arc_type, &args);
15 }
16 
23 
24 } // namespace script
25 } // namespace fst
EncodeMapperClass(const string &arc_type, uint32 flags, EncodeType type)
std::tuple< uint32, EncodeType, EncodeMapperClass * > InitEncodeMapperClassArgs
friend void InitEncodeMapperClass(InitEncodeMapperClassArgs *args)
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
EncodeType
Definition: encode.h:25
uint32_t uint32
Definition: types.h:31