Lines Matching defs:Operation
32 // If you have a custom operation you'd like to define, you need four
33 // components. In the following, assume you want to create a new operation
40 // 1) A way to bundle the args that your new Foo operation will take, as
61 // 3) a client-facing function for your operation. This would look like
69 // // Finally, call the operation
70 // Apply<Operation<FooArgs> >("Foo", ifst->ArcType(), &args);
76 // 4) A registration for your new operation, on the arc types you care about.
115 // The pair<string, string> is understood to be the operation name and arc
116 // type; subclasses (or typedefs) need only provide the operation signature.
148 // Operation package - everything you need to register a new type of operation
157 struct Operation {
172 static fst::script::Operation<ArgPack>::Registerer \
178 // Template function to apply an operation by name
189 FSTERROR() << "No operation found for \"" << op_name << "\" on "