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 HandledTypesMap & | GetRegisteredSerializers () const |
BaseJsonSerializer * | GetSerializerForType (const Uuid &typeId) const |
BaseJsonSerializer * | GetSerializerForSerializerType (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::Uuid > | m_currentlyProcessingTypeIds |
The type ids of the currently reflecting type. Used to prevent circular references. Is a set to prevent recursive circular references. | |
friend | OnDemandReflectionOwner |