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::Serialize::EnumerateInstanceCallContext Struct Reference

#include <SerializeContext.h>

Public Member Functions

 AZ_TYPE_INFO_WITH_NAME_DECL (EnumerateInstanceCallContext)
 
 EnumerateInstanceCallContext (const SerializeContext::BeginElemEnumCB &beginElemCB, const SerializeContext::EndElemEnumCB &endElemCB, const SerializeContext *context, unsigned int accessflags, SerializeContext::ErrorHandler *errorHandler)
 

Public Attributes

SerializeContext::BeginElemEnumCB m_beginElemCB
 Optional callback when entering an element's hierarchy.
 
SerializeContext::EndElemEnumCB m_endElemCB
 Optional callback when exiting an element's hierarchy.
 
unsigned int m_accessFlags
 Data access flags for the enumeration, see EnumerationAccessFlags.
 
SerializeContext::ErrorHandlerm_errorHandler
 Optional user error handler.
 
const SerializeContextm_context
 Serialize context containing class reflection required for data traversal.
 
IDataContainer::ElementCB m_elementCallback
 Pre-bound functor computed internally to avoid allocating closures during traversal.
 
SerializeContext::ErrorHandler m_defaultErrorHandler
 If no custom error handler is provided, the context provides one.
 

Detailed Description

Storage for persistent parameters passed to a root EnumerateInstance pass. EnumerateInstance is used in high frequency performance-sensitive scenarios, and this ensures minimal interaction with the memory manager for things like bound functors.


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