![]() |
ezEngine Release 25.08
|
The ezApplyNativePropertyChangesContext takes care of generating guids for native pointers that match those of the ezAbstractObjectGraph that was passed in. This allows native changes to be tracked and applied to the object graph at a later point. More...
#include <ApplyNativePropertyChangesContext.h>
Public Member Functions | |
ezApplyNativePropertyChangesContext (ezRttiConverterContext &ref_source, const ezAbstractObjectGraph &originalGraph) | |
virtual ezUuid | GenerateObjectGuid (const ezUuid &parentGuid, const ezAbstractProperty *pProp, ezVariant index, void *pObject) const override |
Generates a guid for a new object. Default implementation generates stable guids derived from parentGuid + property name + index and ignores the address of pObject. | |
![]() | |
virtual void | Clear () |
virtual ezInternal::NewInstance< void > | CreateObject (const ezUuid &guid, const ezRTTI *pRtti) |
virtual void | DeleteObject (const ezUuid &guid) |
virtual void | RegisterObject (const ezUuid &guid, const ezRTTI *pRtti, void *pObject) |
virtual void | UnregisterObject (const ezUuid &guid) |
virtual ezRttiConverterObject | GetObjectByGUID (const ezUuid &guid) const |
virtual ezUuid | GetObjectGUID (const ezRTTI *pRtti, const void *pObject) const |
virtual const ezRTTI * | FindTypeByName (ezStringView sName) const |
template<typename T > | |
void | GetObjectsByType (ezDynamicArray< T * > &out_objects, ezDynamicArray< ezUuid > *out_pUuids=nullptr) |
virtual ezUuid | EnqueObject (const ezUuid &guid, const ezRTTI *pRtti, void *pObject) |
virtual ezRttiConverterObject | DequeueObject () |
virtual void | OnUnknownTypeError (ezStringView sTypeName) |
Additional Inherited Members | |
![]() | |
ezHashTable< ezUuid, ezRttiConverterObject > | m_GuidToObject |
ezHashTable< const void *, ezUuid > | m_ObjectToGuid |
ezSet< ezUuid > | m_QueuedObjects |
The ezApplyNativePropertyChangesContext takes care of generating guids for native pointers that match those of the ezAbstractObjectGraph that was passed in. This allows native changes to be tracked and applied to the object graph at a later point.
|
overridevirtual |
Generates a guid for a new object. Default implementation generates stable guids derived from parentGuid + property name + index and ignores the address of pObject.
Reimplemented from ezRttiConverterContext.