Plasma Engine  2.0
Loading...
Searching...
No Matches
plVariantTypeRegistry Class Reference

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

#include <VariantTypeRegistry.h>

Public Member Functions

const plVariantTypeInfoFindVariantTypeInfo (const plRTTI *pType) const
 Find the variant type info for the given plRTTI type.
 

Detailed Description

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

Custom variant types are defined via the PL_DECLARE_CUSTOM_VARIANT_TYPE and PL_DEFINE_CUSTOM_VARIANT_TYPE macros.

See also
PL_DECLARE_CUSTOM_VARIANT_TYPE, PL_DEFINE_CUSTOM_VARIANT_TYPE

Member Function Documentation

◆ FindVariantTypeInfo()

const plVariantTypeInfo * plVariantTypeRegistry::FindVariantTypeInfo ( const plRTTI * pType) const

Find the variant type info for the given plRTTI type.

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

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