Classes | Namespaces | Defines | Functions

openfst-1.2.6/src/include/fst/script/script-impl.h File Reference

#include <utility>
#include <string>
#include <fst/script/fst-class.h>
#include <fst/generic-register.h>
#include <fst/script/arg-packs.h>
#include <fst/types.h>
Include dependency graph for script-impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fst::script::GenericOperationRegister< OperationSignature >
struct  fst::script::Operation< ArgPack >
 Operation package - everything you need to register a new type of operation. More...

Namespaces

namespace  fst
 

For optional argument declarations.


namespace  fst::script

Defines

#define REGISTER_FST_OPERATION(Op, Arc, ArgPack)
 Macro for registering new types of operations.

Functions

template<class OpReg >
void fst::script::Apply (const string &op_name, const string &arc_type, typename OpReg::Args *args)
bool fst::script::ArcTypesMatch (const FstClass &a, const FstClass &b, const string &op_name)

Define Documentation

#define REGISTER_FST_OPERATION (   Op,
  Arc,
  ArgPack 
)
Value:
static Operation<ArgPack>::Registerer                                 \
  arc_dispatched_operation_ ## ArgPack ## Op ## Arc ## _registerer(     \
      make_pair(#Op, Arc::Type()), Op<Arc>)

Macro for registering new types of operations.

Definition at line 171 of file script-impl.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines