generic invoker declare for ZFMethod::methodGenericInvoker More...
Go to the source code of this file.
Macros | |
#define | ZFMETHOD_MAX_PARAM |
max param supported by ZFMethod | |
#define | ZFMP_DEF() |
mark the object as default param | |
Typedefs | |
typedef void(* | ZFMethodGenericInvoker) (const ZFArgs &zfargs) |
generic invoker for advanced reflection, see ZFMethod::methodGenericInvoker | |
Functions | |
zfbool | ZFMethodGenericInvokerParamsCheck (const ZFArgs &zfargs) |
util method for ZFMethodGenericInvoker to check whether all param type match | |
generic invoker declare for ZFMethod::methodGenericInvoker
util method for ZFMethodGenericInvoker to check whether all param type match
NOTE: when impl by plain ZFMethodGenericInvoker, impl take full responsibility to check whether param types matches, and must return false to indicate the param type mismatch, and supply necessary error hint
to make things easier, you may use this method to check all params are desired type