Utils::Callable< R()> Class Template Reference

#include <Callable.h> [code]

Collaboration diagram for Utils::Callable< R()>:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<typename R>
class Utils::Callable< R()>

Definition at line 39 of file Callable.h.

Public Types

typedef R ReturnType

Public Member Functions

 Callable ()
 Callable (const Callable &other)
 Callable (Function f)
template<typename Class>
 Callable (Class &o, R(Class::*f)())
template<typename Class>
 Callable (Class *o, R(Class::*f)())
template<typename Class>
 Callable (const Class &o, R(Class::*f)() const)
template<typename Class>
 Callable (const Class *o, R(Class::*f)() const)
operator() ()
bool operator== (const Callable &other) const
bool operator!= (const Callable &other) const

Private Types

typedef R(* Function )()

Private Attributes

AbstractValue< CallableImpl,
NullCallableImpl > 
impl

Classes

struct  CallableImpl
struct  ConstMemberFunctionCallableImpl
struct  FunctionCallableImpl
struct  MemberFunctionCallableImpl
struct  NullCallableImpl


Member Typedef Documentation

template<typename R>
typedef R(* Utils::Callable< R()>::Function)() [private]
 

Definition at line 61 of file Callable.h.

template<typename R>
typedef R Utils::Callable< R()>::ReturnType
 

Definition at line 139 of file Callable.h.


Constructor & Destructor Documentation

template<typename R>
Utils::Callable< R()>::Callable  )  [inline]
 

Definition at line 141 of file Callable.h.

template<typename R>
Utils::Callable< R()>::Callable const Callable< R()> &  other  )  [inline]
 

Definition at line 143 of file Callable.h.

template<typename R>
Utils::Callable< R()>::Callable Function  f  )  [inline]
 

Definition at line 145 of file Callable.h.

template<typename R>
template<typename Class>
Utils::Callable< R()>::Callable Class &  o,
R(Class::*)()  f
[inline]
 

Definition at line 148 of file Callable.h.

template<typename R>
template<typename Class>
Utils::Callable< R()>::Callable Class *  o,
R(Class::*)()  f
[inline]
 

Definition at line 152 of file Callable.h.

template<typename R>
template<typename Class>
Utils::Callable< R()>::Callable const Class &  o,
R(Class::*)() const   f
[inline]
 

Definition at line 156 of file Callable.h.

template<typename R>
template<typename Class>
Utils::Callable< R()>::Callable const Class *  o,
R(Class::*)() const   f
[inline]
 

Definition at line 160 of file Callable.h.


Member Function Documentation

template<typename R>
bool Utils::Callable< R()>::operator!= const Callable< R()> &  other  )  const [inline]
 

Definition at line 167 of file Callable.h.

template<typename R>
R Utils::Callable< R()>::operator()  )  [inline]
 

Definition at line 163 of file Callable.h.

template<typename R>
bool Utils::Callable< R()>::operator== const Callable< R()> &  other  )  const [inline]
 

Definition at line 165 of file Callable.h.


Member Data Documentation

template<typename R>
AbstractValue<CallableImpl, NullCallableImpl> Utils::Callable< R()>::impl [private]
 

Definition at line 170 of file Callable.h.


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