Public Types | Public Member Functions | Public Attributes
ProgramOptions::detail::Notifier< ParamT > Struct Template Reference

#include <notifier.h>

List of all members.

Public Types

typedef bool(* notify_func_type )(void *, const std::string &name, ParamT)

Public Member Functions

bool empty () const
 Notifier ()
template<class O >
 Notifier (O *o, bool(*f)(O *, const std::string &, ParamT))
bool notify (const std::string &name, ParamT val) const

Public Attributes

notify_func_type func
void * obj

Detailed Description

template<class ParamT>
struct ProgramOptions::detail::Notifier< ParamT >

Definition at line 37 of file notifier.h.


Member Typedef Documentation

template<class ParamT>
typedef bool(* ProgramOptions::detail::Notifier< ParamT >::notify_func_type)(void *, const std::string &name, ParamT)

Definition at line 38 of file notifier.h.


Constructor & Destructor Documentation

template<class ParamT>
ProgramOptions::detail::Notifier< ParamT >::Notifier ( ) [inline]

Definition at line 39 of file notifier.h.

template<class ParamT>
template<class O >
ProgramOptions::detail::Notifier< ParamT >::Notifier ( O *  o,
bool(*)(O *, const std::string &, ParamT)  f 
) [inline]

Definition at line 41 of file notifier.h.


Member Function Documentation

template<class ParamT>
bool ProgramOptions::detail::Notifier< ParamT >::empty ( ) const [inline]

Definition at line 50 of file notifier.h.

template<class ParamT>
bool ProgramOptions::detail::Notifier< ParamT >::notify ( const std::string &  name,
ParamT  val 
) const [inline]

Definition at line 47 of file notifier.h.


Member Data Documentation

template<class ParamT>
notify_func_type ProgramOptions::detail::Notifier< ParamT >::func

Definition at line 46 of file notifier.h.

template<class ParamT>
void* ProgramOptions::detail::Notifier< ParamT >::obj

Definition at line 45 of file notifier.h.


The documentation for this struct was generated from the following file:


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:42