3#include <EditorFramework/EditorFrameworkDLL.h>
5#include <GuiFoundation/PropertyGrid/DefaultState.h>
33 plInt32 m_iRootDepth = 0;
36 const plRTTI* m_pClassType =
nullptr;
This is the base interface for all properties in the reflection system. It provides enough informatio...
Definition AbstractProperty.h:150
A 8bit per channel unsigned normalized (values interpreted as 0-1) color storage format that represen...
Definition Color8UNorm.h:99
Interface for querying and restoring the default state of objects and containers.
Definition DefaultState.h:110
virtual plStatus CreateRevertContainerDiff(SuperArray superPtr, plObjectAccessorBase *pAccessor, const plDocumentObject *pObject, const plAbstractProperty *pProp, plDeque< plAbstractGraphDiffOperation > &out_diff)=0
Queries an array of diff operations that can be executed to revert the object container.
virtual plColorGammaUB GetBackgroundColor() const =0
Returns a color to be used in the property grid. Only the hue of the color is used....
virtual plInt32 GetRootDepth() const =0
Returns the root depth of this provider instance.
virtual plVariant GetDefaultValue(SuperArray superPtr, plObjectAccessorBase *pAccessor, const plDocumentObject *pObject, const plAbstractProperty *pProp, plVariant index=plVariant())=0
Returns the default value of an object's property at a given index.
Definition DocumentObjectBase.h:11
Retrieves the dynamic default state of an object or container attributed with plDynamicDefaultValueAt...
Definition DynamicDefaultStateProvider.h:12
virtual plString GetStateProviderName() const override
Returns the name of this state provider. Can be used to check what the outer most provider is for GUI...
Definition DynamicDefaultStateProvider.h:20
Add this attribute to an embedded class or container property to make it retrieve its default values ...
Definition PropertyAttributes.h:341
Definition ObjectAccessorBase.h:8
Stores a path from an object of a given type to a property inside of it. Once initialized to a specif...
Definition PropertyPath.h:25
This class holds information about reflected types. Each instance represents one type that is known t...
Definition RTTI.h:30
All classes that should be dynamically reflectable, need to be derived from this base class.
Definition DynamicRTTI.h:86
A Shared ptr manages a shared object and destroys that object when no one references it anymore....
Definition SharedPtr.h:10
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
An plResult with an additional message for the reason of failure.
Definition Status.h:12