Zen
A cross-platform functional programming language

callMethod< ObjT, bool > Struct Template Reference

Partial template struct specialization to call a callback function with bool value. More...

#include <CmdLine.hpp>

List of all members.

Static Public Member Functions

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

Detailed Description

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

Partial template struct specialization to call a callback function with bool value.


Member Function Documentation

static void call ( const z::string str,
ObjT &(ObjT::*)(const bool &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