ezEngine Release 25.08
Loading...
Searching...
No Matches
ezDocumentObject Class Referenceabstract
Inheritance diagram for ezDocumentObject:

Public Member Functions

const ezUuidGetGuid () const
 
const ezRTTIGetType () const
 Returns the RTTI type of the object that is represented by this ezDocumentObject.
 
const ezDocumentObjectManagerGetDocumentObjectManager () const
 
ezDocumentObjectManagerGetDocumentObjectManager ()
 
virtual const ezIReflectedTypeAccessorGetTypeAccessor () const =0
 
ezIReflectedTypeAccessorGetTypeAccessor ()
 
const ezDocumentObjectGetParent () const
 
virtual void InsertSubObject (ezDocumentObject *pObject, ezStringView sProperty, const ezVariant &index)
 
virtual void RemoveSubObject (ezDocumentObject *pObject)
 
void ComputeObjectHash (ezUInt64 &ref_uiHash) const
 
const ezHybridArray< ezDocumentObject *, 8 > & GetChildren () const
 
ezDocumentObjectGetChild (const ezUuid &guid)
 
const ezDocumentObjectGetChild (const ezUuid &guid) const
 
ezStringView GetParentProperty () const
 
const ezAbstractPropertyGetParentPropertyType () const
 
ezVariant GetPropertyIndex () const
 
bool IsOnHeap () const
 
ezUInt32 GetChildIndex (const ezDocumentObject *pChild) const
 

Protected Attributes

ezUuid m_Guid
 
ezDocumentObjectManagerm_pDocumentObjectManager = nullptr
 
ezDocumentObjectm_pParent = nullptr
 
ezHybridArray< ezDocumentObject *, 8 > m_Children
 
ezString m_sParentProperty
 

Friends

class ezDocumentObjectManager
 

Member Function Documentation

◆ IsOnHeap()

bool ezDocumentObject::IsOnHeap ( ) const
Todo:
Christopher: This crashes when the pointer is nullptr, which appears to be possible It happened for me when duplicating (CTRL+D) 2 objects 2 times then moving them and finally undoing everything

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