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

#include <Callable.h> [code]

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

Collaboration graph
[legend]
List of all members.

Detailed Description

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

Definition at line 310 of file Callable.h.

Public Types

typedef R ReturnType
typedef P1 ParameterType1
typedef P2 ParameterType2

Public Member Functions

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

Private Types

typedef R(* Function )(P1, P2)

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, typename P2>
typedef R(* Utils::Callable< R(P1, P2)>::Function)(P1, P2) [private]
 

Definition at line 332 of file Callable.h.

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

Definition at line 411 of file Callable.h.

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

Definition at line 412 of file Callable.h.

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

Definition at line 410 of file Callable.h.


Constructor & Destructor Documentation

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

Definition at line 414 of file Callable.h.

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

Definition at line 416 of file Callable.h.

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

Definition at line 418 of file Callable.h.

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

Definition at line 421 of file Callable.h.

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

Definition at line 425 of file Callable.h.

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

Definition at line 429 of file Callable.h.

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

Definition at line 433 of file Callable.h.


Member Function Documentation

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

Definition at line 440 of file Callable.h.

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

Definition at line 436 of file Callable.h.

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

Definition at line 438 of file Callable.h.


Member Data Documentation

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

Definition at line 443 of file Callable.h.


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