class ReflectExport( reflect ) DynamicPointerType : public Type
DynamicPointerType | |
Class | |
Functions | |
Cast | The object cast to a Dynamic if it is a subclass of this, or NULL otherwise. |
OpaqueCast | Casts a type represented by this Class to a void *, used by <Serialize>. |
TranslucentCast | Casts a void * from <OpaqueCast (template/static)> back to a T *. |
SerializePointer | |
DeserializePointer | |
Members | |
mDynamicPointerType | The Type object representing pointers to this type. |
mSerializationClass | The Class that pointers use when serializing. |
class ReflectExport( reflect ) Class : public ObjectType
Functions | |
Cast | The object cast to a Dynamic if it is a subclass of this, or NULL otherwise. |
OpaqueCast | Casts a type represented by this Class to a void *, used by <Serialize>. |
TranslucentCast | Casts a void * from <OpaqueCast (template/static)> back to a T *. |
SerializePointer | |
DeserializePointer | |
Members | |
mDynamicPointerType | The Type object representing pointers to this type. |
mSerializationClass | The Class that pointers use when serializing. |
template<typename T> static void *OpaqueCast( T * ptr )
Casts a type represented by this Class to a void *, used by <Serialize>. (there are const and non-const versions of this function)
mutable DynamicPointerType mDynamicPointerType
The Type object representing pointers to this type.
const Class *mSerializationClass
The Class that pointers use when serializing. (this Type.Derives mSerializationClass).
class ReflectExport( reflect ) DynamicPointerType : public Type
class ReflectExport( reflect ) Class : public ObjectType
The object cast to a Dynamic if it is a subclass of this, or NULL otherwise.
Dynamic *Cast( Dynamic * object ) const
This class defines the core interface for all runtime type identification (RTTI) in reflect.
class ReflectExport( reflect ) Dynamic
Casts a type represented by this Class to a void *, used by Serialize.
template<typename T> static void *OpaqueCast( T * ptr )
Casts a void * from OpaqueCast (template/static) back to a T *.
template<typename T> static T *TranslucentCast( void * ptr )
virtual void SerializePointer( const Dynamic * in, Reflector & reflector ) const
virtual void DeserializePointer( Dynamic *& out, Reflector & reflector ) const
The Type object representing pointers to this type.
mutable DynamicPointerType mDynamicPointerType
class ReflectExport( reflect ) Type : public Dynamic
The Class that pointers use when serializing.
const Class *mSerializationClass
Provides an easy way to downcast Dynamics without having to specify the downcast target type, and with minimal interruption to the legible program flow.
static const struct autocast_token { autocast_token(){} } autocast
Checks if this class represents a subclass of another.
bool DerivesType( const Type * other ) const