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::JsonRegistrationContext Class Reference

Inherits AZ::ReflectContext.

Classes

class  SerializerBuilder
 

Public Types

using SerializerMap = AZStd::unordered_map< Uuid, AZStd::unique_ptr< BaseJsonSerializer >, AZStd::hash< Uuid > >
 
using HandledTypesMap = AZStd::unordered_map< Uuid, BaseJsonSerializer *, AZStd::hash< Uuid > >
 

Public Member Functions

 AZ_RTTI (JsonRegistrationContext, "{5A763774-CA8B-4245-A897-A03C503DCD60}", ReflectContext)
 
 AZ_CLASS_ALLOCATOR (JsonRegistrationContext, SystemAllocator)
 
const HandledTypesMapGetRegisteredSerializers () const
 
BaseJsonSerializerGetSerializerForType (const Uuid &typeId) const
 
BaseJsonSerializerGetSerializerForSerializerType (const Uuid &typeId) const
 
template<typename T >
SerializerBuilder Serializer ()
 
- Public Member Functions inherited from AZ::ReflectContext
 AZ_TYPE_INFO_WITH_NAME_DECL (ReflectContext)
 
 AZ_RTTI_NO_TYPE_INFO_DECL ()
 
void EnableRemoveReflection ()
 
void DisableRemoveReflection ()
 
bool IsRemovingReflection () const
 
bool IsOnDemandTypeReflected (AZ::Uuid typeId)
 Check if an OnDemandReflection type's typeid is already reflected.
 
virtual bool IsTypeReflected (AZ::Uuid) const
 
void ExecuteQueuedOnDemandReflections ()
 Execute all queued OnDemandReflection calls.
 

Protected Attributes

SerializerMap m_jsonSerializers
 
HandledTypesMap m_handledTypesMap
 
- Protected Attributes inherited from AZ::ReflectContext
bool m_isRemoveReflection
 True if all calls in the context should be considered to remove not to add reflection.
 
AZStd::unordered_map< AZ::Uuid, AZStd::weak_ptr< Internal::ReflectionFunctionRef > > m_onDemandReflection
 Store the on demand reflect functions so we can avoid double-reflecting something.
 
AZStd::vector< AZStd::pair< AZ::Uuid, StaticReflectionFunctionPtr > > m_toProcessOnDemandReflection
 OnDemandReflection functions that need to be called.
 
AZStd::deque< AZ::Uuidm_currentlyProcessingTypeIds
 The type ids of the currently reflecting type. Used to prevent circular references. Is a set to prevent recursive circular references.
 
friend OnDemandReflectionOwner
 

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