FST  openfst-1.7.1
OpenFst Library
arciterator-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 
11  : impl_(nullptr) {
12  InitArcIteratorClassArgs args(fst, s, this);
13  Apply<Operation<InitArcIteratorClassArgs>>("InitArcIteratorClass",
14  fst.ArcType(), &args);
15 }
16 
18  int64 s) : impl_(nullptr) {
19  InitMutableArcIteratorClassArgs args(fst, s, this);
20  Apply<Operation<InitMutableArcIteratorClassArgs>>(
21  "InitMutableArcIteratorClass", fst->ArcType(), &args);
22 }
23 
28 
35 
36 } // namespace script
37 } // namespace fst
ArcIteratorClass(const FstClass &fst, int64 s)
const string & ArcType() const final
Definition: fst-class.h:290
REGISTER_FST_OPERATION(Compress, StdArc, CompressArgs)
int64_t int64
Definition: types.h:27
std::tuple< MutableFstClass *, int64, MutableArcIteratorClass * > InitMutableArcIteratorClassArgs
friend void InitMutableArcIteratorClass(InitMutableArcIteratorClassArgs *args)
void InitArcIteratorClass(InitArcIteratorClassArgs *args)
MutableArcIteratorClass(MutableFstClass *fst, int64 s)
std::tuple< const FstClass &, int64, ArcIteratorClass * > InitArcIteratorClassArgs