ezEngine Release 26.9
Loading...
Searching...
No Matches
ezDocumentRootObject Class Reference

Implementation detail of ezDocumentObjectManager. More...

#include <DocumentObjectManager.h>

Inheritance diagram for ezDocumentRootObject:

Public Member Functions

 ezDocumentRootObject (const ezRTTI *pRootType)
 
virtual void InsertSubObject (ezDocumentObject *pObject, ezStringView sProperty, const ezVariant &index) override
 
virtual void RemoveSubObject (ezDocumentObject *pObject) override
 
- Public Member Functions inherited from ezDocumentStorageObject
 ezDocumentStorageObject (const ezRTTI *pType)
 
virtual const ezIReflectedTypeAccessor & GetTypeAccessor () const override
 
- Public Member Functions inherited from ezDocumentObject
const ezUuid & GetGuid () const
 
const ezRTTI * GetType () const
 Returns the RTTI type of the object that is represented by this ezDocumentObject.
 
const ezDocumentObjectManager * GetDocumentObjectManager () const
 
ezDocumentObjectManager * GetDocumentObjectManager ()
 
ezIReflectedTypeAccessor & GetTypeAccessor ()
 
const ezDocumentObject * GetParent () const
 
void ComputeObjectHash (ezUInt64 &ref_uiHash) const
 
const ezHybridArray< ezDocumentObject *, 8 > & GetChildren () const
 
ezDocumentObject * GetChild (const ezUuid &guid)
 
const ezDocumentObject * GetChild (const ezUuid &guid) const
 
ezStringView GetParentProperty () const
 
const ezAbstractProperty * GetParentPropertyType () const
 
ezVariant GetPropertyIndex () const
 
bool IsOnHeap () const
 
ezUInt32 GetChildIndex (const ezDocumentObject *pChild) const
 

Additional Inherited Members

- Protected Attributes inherited from ezDocumentStorageObject
ezReflectedTypeStorageAccessor m_ObjectPropertiesAccessor
 
- Protected Attributes inherited from ezDocumentObject
ezUuid m_Guid
 
ezDocumentObjectManager * m_pDocumentObjectManager = nullptr
 
ezDocumentObject * m_pParent = nullptr
 
ezHybridArray< ezDocumentObject *, 8 > m_Children
 
ezString m_sParentProperty
 

Detailed Description

Implementation detail of ezDocumentObjectManager.

Member Function Documentation

◆ InsertSubObject()

void ezDocumentRootObject::InsertSubObject ( ezDocumentObject *  pObject,
ezStringView  sProperty,
const ezVariant &  index 
)
overridevirtual

Reimplemented from ezDocumentObject.

◆ RemoveSubObject()

void ezDocumentRootObject::RemoveSubObject ( ezDocumentObject *  pObject)
overridevirtual

Reimplemented from ezDocumentObject.


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