Zen
A cross-platform functional programming language

callMethod< ObjT, z::string > Struct Template Reference

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

#include <CmdLine.hpp>

List of all members.

Static Public Member Functions

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

Detailed Description

template<typename ObjT>
struct zbl::callMethod< ObjT, z::string >

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


Member Function Documentation

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