Open 3D Engine AzCore API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::SerializeContext::PerModuleGenericClassInfo Class Referencefinal

#include <SerializeContext.h>

Public Types

using GenericInfoModuleMap = AZStd::unordered_map< AZ::Uuid, AZ::GenericClassInfo * >
 

Public Member Functions

void AddGenericClassInfo (AZ::GenericClassInfo *genericClassInfo)
 
void RemoveGenericClassInfo (const AZ::TypeId &canonicalTypeId)
 
void RegisterSerializeContext (AZ::SerializeContext *serializeContext)
 
void UnregisterSerializeContext (AZ::SerializeContext *serializeContext)
 
template<typename T >
SerializeGenericTypeInfo< T >::ClassInfoType * CreateGenericClassInfo ()
 
template<typename T >
AZ::GenericClassInfoFindGenericClassInfo () const
 Returns GenericClassInfo registered with the current module.
 
AZ::GenericClassInfoFindGenericClassInfo (const AZ::TypeId &genericTypeId) const
 
void Cleanup ()
 

Detailed Description

PerModuleGenericClassInfo tracks module specific reflections of GenericClassInfo for each serializeContext registered with this module(.dll)

Member Function Documentation

◆ CreateGenericClassInfo()

template<typename T >
SerializeGenericTypeInfo< T >::ClassInfoType * AZ::SerializeContext::PerModuleGenericClassInfo::CreateGenericClassInfo ( )

Creates GenericClassInfo and registers it with the current module if it has not already been registered Returns a pointer to the GenericClassInfo derived class that was created


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