#include <instanceproperty.h>
Public Member Functions | |
bool | apply (rtti::Object &target, utility::ErrorState &errorState) const |
Public Attributes | |
std::string | mPath |
RTTI path to the property. More... | |
rtti::ObjectPtr< InstancePropertyValue > | mValue |
Value to override. More... | |
Represents both the path to an attribute as well as the value to override. Together with the target object that must be given in apply(), this can be used to override a property.
bool apply | ( | rtti::Object & | target, |
utility::ErrorState & | errorState | ||
) | const |
Applies the stored override value on the target and attribute path.
target | The object that holds the attribute. |
errorState | If function returns false, contains error information if an error occurs. |
std::string mPath |
RTTI path to the property.
rtti::ObjectPtr<InstancePropertyValue> mValue |
Value to override.