Cast.h File Reference


Defines

#define USUL_UNSAFE_CAST(to_type, from_object)   ( (to_type) (from_object) )
#define SAFE_CAST_FOX(Type, pointer)   ( ( (pointer) && (pointer)->isMemberOf ( FXMETACLASS ( Type ) ) ) ? reinterpret_cast < Type * > ( pointer ) : 0x0 )
#define SAFE_CAST_FOX_CONST(Type, pointer)   ( ( (pointer) && (pointer)->isMemberOf ( FXMETACLASS ( Type ) ) ) ? reinterpret_cast < const Type * > ( pointer ) : 0x0 )

Define Documentation

#define SAFE_CAST_FOX ( Type,
pointer   )     ( ( (pointer) && (pointer)->isMemberOf ( FXMETACLASS ( Type ) ) ) ? reinterpret_cast < Type * > ( pointer ) : 0x0 )

#define SAFE_CAST_FOX_CONST ( Type,
pointer   )     ( ( (pointer) && (pointer)->isMemberOf ( FXMETACLASS ( Type ) ) ) ? reinterpret_cast < const Type * > ( pointer ) : 0x0 )

#define USUL_UNSAFE_CAST ( to_type,
from_object   )     ( (to_type) (from_object) )


Generated on Tue Nov 17 18:43:10 2009 for MXADataModel by  doxygen 1.5.2