WARPXM v1.10.0
Loading...
Searching...
No Matches
wxtypelist.h File Reference

Go to the source code of this file.

Classes

struct  WxTypeList< T, U >
 WxTypeList class provides a means of defining a list of types (hence the name "typelist"). More...
 
class  WxTypeMap< WxTypeList< T1, T2 >, Unit >
 Specialization 1: Inherit from WxTypeMap generated from the elements of the typelist. More...
 
struct  WxTypeMap< WxTypeList< T1, T2 >, Unit >::Rebind< T >
 
class  WxTypeMap< AtomicType, Unit >
 WxTypeMap can be used to generate a whole class hierachy at compile time. More...
 
struct  WxTypeMap< AtomicType, Unit >::Rebind< T >
 
class  WxTypeMap< WxNullType, Unit >
 Specialization 3: For WxNullType do nothing. More...
 
struct  WxTypeMap< WxNullType, Unit >::Rebind< T >
 

Macros

#define WX_TYPELIST_1(t1)   WxTypeList<t1, WxNullType>
 
#define WX_TYPELIST_2(t1, t2)   WxTypeList<t1, WX_TYPELIST_1(t2)>
 
#define WX_TYPELIST_3(t1, t2, t3)   WxTypeList<t1, WX_TYPELIST_2(t2, t3)>
 
#define WX_TYPELIST_4(t1, t2, t3, t4)   WxTypeList<t1, WX_TYPELIST_3(t2, t3, t4)>
 
#define WX_TYPELIST_5(t1, t2, t3, t4, t5)   WxTypeList<t1, WX_TYPELIST_4(t2, t3, t4, t5)>
 
#define WX_TYPELIST_6(t1, t2, t3, t4, t5, t6)    WxTypeList<t1, WX_TYPELIST_5(t2, t3, t4, t5, t6)>
 
#define WX_TYPELIST_7(t1, t2, t3, t4, t5, t6, t7)    WxTypeList<t1, WX_TYPELIST_6(t2, t3, t4, t5, t6, t7)>
 
#define WX_TYPELIST_8(t1, t2, t3, t4, t5, t6, t7, t8)    WxTypeList<t1, WX_TYPELIST_7(t2, t3, t4, t5, t6, t7, t8)>
 
#define WX_TYPELIST_9(t1, t2, t3, t4, t5, t6, t7, t8, t9)    WxTypeList<t1, WX_TYPELIST_8(t2, t3, t4, t5, t6, t7, t8, t9)>
 
#define WX_TYPELIST_10(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10)    WxTypeList<t1, WX_TYPELIST_9(t2, t3, t4, t5, t6, t7, t8, t9, t10)>
 
#define WX_TYPELIST_11(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11)    WxTypeList<t1, WX_TYPELIST_10(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11)>
 
#define WX_TYPELIST_12(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12)    WxTypeList<t1, WX_TYPELIST_11(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12)>
 
#define WX_TYPELIST_13(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13)    WxTypeList<t1, WX_TYPELIST_12(t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13)>
 
#define WX_TYPELIST_14(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14)
 
#define WX_TYPELIST_15(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15)
 
#define WX_TYPELIST_16( t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16)
 
#define WX_TYPELIST_17( t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17)
 
#define WX_TYPELIST_18( t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18)
 
#define WX_TYPELIST_19(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19)
 
#define WX_TYPELIST_20(t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14, t15, t16, t17, t18, t19, t20)
 

Functions

template<class T , class H >
H::template Rebind< T >::Result & wxTypeMapExtract (H &obj)
 Say one has created WxTypeMap from a typelist and class Unit.
 
template<class T , class H >
const H::template Rebind< T >::Result & wxTypeMapExtract (const H &obj)