Crazy Eddie's GUI System  0.8.7
CEGUI::TplProperty< C, T >::GetterFunctor Struct Reference
+ Collaboration diagram for CEGUI::TplProperty< C, T >::GetterFunctor:

Classes

struct  EnsureConstRef
 
struct  EnsureConstRef< const DT & >
 
struct  EnsureConstRef< DT & >
 
struct  EnsurePlain
 
struct  EnsurePlain< const DT & >
 
struct  EnsurePlain< DT & >
 
struct  EnsureRef
 
struct  EnsureRef< const DT & >
 
struct  EnsureRef< DT & >
 

Public Types

typedef EnsurePlain< typename Helper::safe_method_return_type >::result(C::* PlainGetter) () const
 
typedef EnsureConstRef< typename Helper::safe_method_return_type >::result(C::* ConstRefGetter) () const
 
typedef EnsureRef< typename Helper::safe_method_return_type >::result(C::* RefGetter) () const
 

Public Member Functions

 GetterFunctor (PlainGetter getter)
 
 GetterFunctor (ConstRefGetter getter)
 
 GetterFunctor (RefGetter getter)
 
 GetterFunctor (int)
 
 operator bool (void) const
 
Helper::safe_method_return_type operator() (const C *instance) const
 

Public Attributes

PlainGetter d_plainGetter
 
ConstRefGetter d_constRefGetter
 
RefGetter d_refGetter
 

Detailed Description

template<class C, typename T>
struct CEGUI::TplProperty< C, T >::GetterFunctor

Template madness to sort out getters returning ref T, const ref T or just T.