SYNOPSIS top
If this macro is defined, then any classes in the Omni framework that can be instantiated (e.g. non-abstract classes and non-POD types) will have an
If this macro is defined, then any classes in the Omni framework that can be instantiated (e.g. non-abstract classes and non-POD types) will have an
omni::type as a member as well a hash and type function associated with it so that you can retrieve the object's underlying type/hash without having to explicitly call omni::type_id on the object.
DESCRIPTION top
If you wish to use the Omni type system (for platforms or builds that do not use RTTI), you must explicitly call the
If you wish to use the Omni type system (for platforms or builds that do not use RTTI), you must explicitly call the
omni::type_id and omni::type_of functions to garner information about a specific object.
CONSIDERATIONS top
The underlying ID type for the
The underlying ID type for the
omni::type class is a std::size_t type. As such, if you enable this option, any classes that utilize this functionality will increase by sizeof(std::size_t).