Zen
A cross-platform functional programming language

callMethod< ObjT, T > Struct Template Reference

Partial template struct to call a callback function. More...

#include <CmdLine.hpp>

List of all members.

Static Public Member Functions

static void call (const z::string &str, ObjT &(ObjT::*fn)(const T &val), ObjT &obj)
 Function to call a callback function.

Detailed Description

template<typename ObjT, typename T>
struct zbl::callMethod< ObjT, T >

Partial template struct to call a callback function.


Member Function Documentation

static void call ( const z::string str,
ObjT &(ObjT::*)(const T &val)  fn,
ObjT &  obj 
) [inline, static]

Function to call a callback function.

Parameters:
strThe string value
fnFunction to call
objObject whose method to call

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