XII Release 0.1.0
Loading...
Searching...
No Matches
xiiVariantTypeRegistry Class Reference

Variant type registry allows for custom variant type infos to be accessed. More...

#include <VariantTypeRegistry.h>

Public Member Functions

const xiiVariantTypeInfoFindVariantTypeInfo (const xiiRTTI *pType) const
 Find the variant type info for the given xiiRTTI type.
 

Detailed Description

Variant type registry allows for custom variant type infos to be accessed.

Custom variant types are defined via the XII_DECLARE_CUSTOM_VARIANT_TYPE and XII_DEFINE_CUSTOM_VARIANT_TYPE macros.

See also
XII_DECLARE_CUSTOM_VARIANT_TYPE, XII_DEFINE_CUSTOM_VARIANT_TYPE

Member Function Documentation

◆ FindVariantTypeInfo()

const xiiVariantTypeInfo * xiiVariantTypeRegistry::FindVariantTypeInfo ( const xiiRTTI * pType) const

Find the variant type info for the given xiiRTTI type.

Returns
xiiVariantTypeInfo if one exits for the given type, otherwise nullptr.

The documentation for this class was generated from the following files: