![]() |
ezEngine
Release 25.03
|
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 | |
ezRttiConverterContext * | m_pContext |
const ezDocumentObjectManager * | m_pManager |
FilterFunction | m_Filter |
void ezDocumentObjectMirror::SetFilterFunction | ( | FilterFunction | filter | ) |
filter | Filter that defines whether an object property should be mirrored or not. |