ezEngine  Release 25.03
ezDocumentObjectMirror Class Reference
Inheritance diagram for ezDocumentObjectMirror:

Public Types

using FilterFunction = ezDelegate< bool(const ezDocumentObject *, ezStringView)>
 

Public Member Functions

void InitSender (const ezDocumentObjectManager *pManager)
 
void InitReceiver (ezRttiConverterContext *pContext)
 
void DeInit ()
 
void SetFilterFunction (FilterFunction filter)
 
void SendDocument ()
 
void Clear ()
 
void TreeStructureEventHandler (const ezDocumentObjectStructureEvent &e)
 
void TreePropertyEventHandler (const ezDocumentObjectPropertyEvent &e)
 
void * GetNativeObjectPointer (const ezDocumentObject *pObject)
 
const void * GetNativeObjectPointer (const ezDocumentObject *pObject) const
 

Protected Member Functions

bool IsRootObject (const ezDocumentObject *pParent)
 
bool IsHeapAllocated (const ezDocumentObject *pParent, ezStringView sParentProperty)
 
bool IsDiscardedByFilter (const ezDocumentObject *pObject, ezStringView sProperty) const
 
virtual void ApplyOp (ezObjectChange &change)
 
void ApplyOp (ezRttiConverterObject object, const ezObjectChange &change)
 

Static Protected Member Functions

static void CreatePath (ezObjectChange &out_change, const ezDocumentObject *pRoot, ezStringView sProperty)
 
static ezUuid FindRootOpObject (const ezDocumentObject *pObject, ezHybridArray< const ezDocumentObject *, 8 > &path)
 
static void FlattenSteps (const ezArrayPtr< const ezDocumentObject *const > path, ezHybridArray< ezPropertyPathStep, 2 > &out_steps)
 

Protected Attributes

ezRttiConverterContextm_pContext
 
const ezDocumentObjectManagerm_pManager
 
FilterFunction m_Filter
 

Member Function Documentation

◆ SetFilterFunction()

void ezDocumentObjectMirror::SetFilterFunction ( FilterFunction  filter)
Parameters
filterFilter that defines whether an object property should be mirrored or not.

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