|
|
| xiiVariantSubDefaultStateProvider (xiiVariantSubAccessor *pAccessor, const xiiDocumentObject *pObject, const xiiAbstractProperty *pProp) |
| |
| virtual xiiInt32 | GetRootDepth () const override |
| | Returns the root depth of this provider instance.
|
| |
| virtual xiiColorGammaUB | GetBackgroundColor () const override |
| | Returns a color to be used in the property grid. Only the hue of the color is used. If alpha is 0, the color is ignored and no tinting of the property grid takes place.
|
| |
| virtual xiiString | GetStateProviderName () const override |
| | Returns the name of this state provider. Can be used to check what the outer most provider is for GUI purposes.
|
| |
| virtual xiiVariant | GetDefaultValue (SuperArray superPtr, xiiObjectAccessorBase *pAccessor, const xiiDocumentObject *pObject, const xiiAbstractProperty *pProp, xiiVariant index=xiiVariant()) override |
| | Returns the default value of an object's property at a given index.
|
| |
| virtual xiiStatus | CreateRevertContainerDiff (SuperArray superPtr, xiiObjectAccessorBase *pAccessor, const xiiDocumentObject *pObject, const xiiAbstractProperty *pProp, xiiDeque< xiiAbstractGraphDiffOperation > &out_diff) override |
| | Queries an array of diff operations that can be executed to revert the object container.
|
| |
| virtual bool | IsDefaultValue (SuperArray superPtr, xiiObjectAccessorBase *pAccessor, const xiiDocumentObject *pObject, const xiiAbstractProperty *pProp, xiiVariant index=xiiVariant()) override |
| |
| virtual xiiStatus | RevertProperty (SuperArray superPtr, xiiObjectAccessorBase *pAccessor, const xiiDocumentObject *pObject, const xiiAbstractProperty *pProp, xiiVariant index=xiiVariant()) override |
| |
|
virtual xiiStatus | RevertObjectContainer (SuperArray superPtr, xiiObjectAccessorBase *pAccessor, const xiiDocumentObject *pObject, const xiiAbstractProperty *pProp) |
| |
|
virtual | ~xiiRefCounted ()=default |
| | Adds a virtual destructor.
|
| |
|
| xiiRefCountingImpl ()=default |
| | Constructor.
|
| |
|
| xiiRefCountingImpl (const xiiRefCountingImpl &rhs) |
| |
|
void | operator= (const xiiRefCountingImpl &rhs) |
| |
|
xiiUInt32 | AddRef () const |
| | Increments the reference counter. Returns the new reference count.
|
| |
|
xiiUInt32 | ReleaseRef () const |
| | Decrements the reference counter. Returns the new reference count.
|
| |
|
bool | IsReferenced () const |
| | Returns true if the reference count is greater than 0, false otherwise.
|
| |
|
xiiUInt32 | GetRefCount () const |
| | Returns the current reference count.
|
| |
| xiiInt32 xiiVariantSubDefaultStateProvider::GetRootDepth |
( |
| ) |
const |
|
overridevirtual |
Returns the root depth of this provider instance.
This is through how many properties and objects we needed to pass through from the object and property passed into the factory method to find the root object / property that this provider represents. For example if we have this object hierarchy: A |-children- B |-elements- C
If A is a prefab and the factory method was called for C (with no property) then we need to walk up the hierarchy via elements container, the B object, the children container and then finally A. Thus, we need 4 hops to get the the prefab root which means the root depth for this provider instance is 4.
Implements xiiDefaultStateProvider.