Type::DescriptionHelper

template<typename T> class Type::DescriptionHelper

Template base class for description helpers, used in reflection definitions.

Features

ConcreteRequires a default constructor, public destructor. makes the type non-abstract.
ConversionTo<TargetType>()declares conversion to TargetType.
ConversionToEx<TargetType, Intermediate>()conversion to TargetType through Intermediate
ConversionFrom<SourceType>()declares conversion from TargetType.

See Also

class ReflectExport(reflect) Type : public Dynamic
virtual bool ConvertValue(void *opaque,
const void *source,
const Type *from) const
Uses conversions registered with RegisterConversion.
Defines the reflection support for a type using its class’ DescriptionHelper.
Close