Plasma Engine  2.0
Loading...
Searching...
No Matches
PropertyAnimObjectManager.h
1#pragma once
2
3#include <ToolsFoundation/Object/DocumentObjectManager.h>
4
6{
7public:
10
11 bool GetAllowStructureChangeOnTemporaries() const { return m_bAllowStructureChangeOnTemporaries; }
12 void SetAllowStructureChangeOnTemporaries(bool bVal) { m_bAllowStructureChangeOnTemporaries = bVal; }
13
14private:
15 virtual plStatus InternalCanAdd(
16 const plRTTI* pRtti, const plDocumentObject* pParent, plStringView sParentProperty, const plVariant& index) const override;
17 virtual plStatus InternalCanRemove(const plDocumentObject* pObject) const override;
18 virtual plStatus InternalCanMove(
19 const plDocumentObject* pObject, const plDocumentObject* pNewParent, plStringView sParentProperty, const plVariant& index) const override;
20
21private:
22 bool m_bAllowStructureChangeOnTemporaries = false;
23};
Definition DocumentObjectBase.h:11
Represents to content of a document. Every document has exactly one root object under which all objec...
Definition DocumentObjectManager.h:116
Definition PropertyAnimObjectManager.h:6
This class holds information about reflected types. Each instance represents one type that is known t...
Definition RTTI.h:30
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44
An plResult with an additional message for the reason of failure.
Definition Status.h:12