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

#include <Callable.h> [code]

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

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 174 of file Callable.h.

Public Types

typedef R ReturnType
typedef P1 ParameterType1

Public Member Functions

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

Private Types

typedef R(* Function )(P1)

Private Attributes

AbstractValue< CallableImpl,
NullCallableImpl > 
impl

Classes

struct  CallableImpl
struct  ConstMemberFunctionCallableImpl
struct  FunctionCallableImpl
struct  MemberFunctionCallableImpl
struct  NullCallableImpl


Member Typedef Documentation

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

Definition at line 196 of file Callable.h.

template<typename R, typename P1>
typedef P1 Utils::Callable< R(P1)>::ParameterType1
 

Definition at line 275 of file Callable.h.

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

Definition at line 274 of file Callable.h.


Constructor & Destructor Documentation

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

Definition at line 277 of file Callable.h.

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

Definition at line 279 of file Callable.h.

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

Definition at line 281 of file Callable.h.

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

Definition at line 284 of file Callable.h.

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

Definition at line 288 of file Callable.h.

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

Definition at line 292 of file Callable.h.

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

Definition at line 296 of file Callable.h.


Member Function Documentation

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

Definition at line 303 of file Callable.h.

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

Definition at line 299 of file Callable.h.

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

Definition at line 301 of file Callable.h.


Member Data Documentation

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

Definition at line 306 of file Callable.h.


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