Public Types

fst::script::Operation< ArgPack > Struct Template Reference

Operation package - everything you need to register a new type of operation. More...

#include <fst/script/script-impl.h>

List of all members.

Public Types

typedef ArgPack Args
typedef void(* OpType )(ArgPack *args)
typedef
GenericOperationRegister
< OpType
Register
 The register (hash) type.
typedef GenericRegisterer
< Register
Registerer
 The register-er type.

Detailed Description

template<class ArgPack>
struct fst::script::Operation< ArgPack >

Operation package - everything you need to register a new type of operation.

The ArgPack should be the type that's passed into each wrapped function - for instance, it might be a struct containing all the args. It's always passed by pointer, so const members should be used to enforce constness where it's needed. Return values should be implemented as a member of ArgPack as well.

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


Member Typedef Documentation

template<class ArgPack >
typedef ArgPack fst::script::Operation< ArgPack >::Args

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

template<class ArgPack >
typedef void(* fst::script::Operation< ArgPack >::OpType)(ArgPack *args)

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

template<class ArgPack >
typedef GenericOperationRegister<OpType> fst::script::Operation< ArgPack >::Register

The register (hash) type.

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

template<class ArgPack >
typedef GenericRegisterer<Register> fst::script::Operation< ArgPack >::Registerer

The register-er type.

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


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines