clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | Public Attributes | List of all members
ProgramOptions::detail::Notifier< ParamT > Struct Template Reference

#include <notifier.h>

Inheritance diagram for ProgramOptions::detail::Notifier< ParamT >:
Inheritance graph
Collaboration diagram for ProgramOptions::detail::Notifier< ParamT >:
Collaboration graph

Public Types

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

Public Member Functions

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

Public Attributes

void * obj
 
notify_func_type func
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

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

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