AbstractPropertyTypeDescriptor is used internally by the property type system to manage property types.
More...
#include <kanzi/core/property/abstract_property_type_descriptor.hpp>
|
| AbstractPropertyTypeDescriptor (FixedString name, uint32_t changeFlags, bool inherited, PropertyTypeEditorInfoSharedPtr editorInfo) |
|
| AbstractPropertyTypeDescriptor (MetadataGeneratedName name, uint32_t changeFlags, bool inherited, PropertyTypeEditorInfoSharedPtr editorInfo) |
|
virtual | ~AbstractPropertyTypeDescriptor () |
|
const char * | getName () const |
|
const char * | getUnqualifiedName () const |
|
virtual kanzi::PropertyDataType | getDataType () const =0 |
|
bool | isInherited () const |
|
uint32_t | getChangeFlags () const |
|
kanzi::PropertyTypeEditorInfoSharedPtr | getEditorInfo () const |
|
| KZ_STATIC_ASSERT (is_nothrow_move_constructible< ValueSourceEntry >::value,"Error") |
|
| KZ_STATIC_ASSERT (KZ_IS_TRIVIALLY_COPYABLE< ValueSourceEntry >::value,"Error") |
|
virtual ValueSource * | constructValueSource ()=0 |
|
virtual void | destructValueSource (ValueSource *valueSource)=0 |
|
virtual ModifierStorage * | constructModifierStorage ()=0 |
|
virtual void | destructModifierStorage (ModifierStorage *modifierStorage)=0 |
|
virtual ValueSource * | getModifierValueSource (ModifierStorage *modifierStorage)=0 |
|
virtual void | validateModifiers (PropertyObject &object, PropertyStorage &propertyStorage, PropertyNotificationReason reason)=0 |
|
virtual NotificationStorage * | constructNotificationStorage ()=0 |
|
virtual void | destructNotificationStorage (NotificationStorage *notificationStorage)=0 |
|
virtual void | invokeGlobalNotificationHandlers (PropertyObject &object, ValueSource *finalValueSource, PropertyNotificationReason reason)=0 |
|
virtual void | invokeNotificationHandlers (PropertyObject &object, ValueSource *finalValueSource, NotificationStorage *notificationStorage, PropertyNotificationReason reason)=0 |
|
virtual void | copyValueSource (AbstractPropertyTypeDescriptor::ValueSource *dst, const AbstractPropertyTypeDescriptor::ValueSource *src)=0 |
| Copy value source with type corresponding to this descriptor. More...
|
|
AbstractPropertyTypeDescriptor is used internally by the property type system to manage property types.
You should use PropertyType, DynamicPropertyType and AbstractPropertyType classes if you want to get or set properties.
virtual kanzi::AbstractPropertyTypeDescriptor::~AbstractPropertyTypeDescriptor |
( |
| ) |
|
|
virtual |
const char* kanzi::AbstractPropertyTypeDescriptor::getName |
( |
| ) |
const |
|
inline |
const char* kanzi::AbstractPropertyTypeDescriptor::getUnqualifiedName |
( |
| ) |
const |
|
inline |
bool kanzi::AbstractPropertyTypeDescriptor::isInherited |
( |
| ) |
const |
|
inline |
uint32_t kanzi::AbstractPropertyTypeDescriptor::getChangeFlags |
( |
| ) |
const |
|
inline |
kanzi::AbstractPropertyTypeDescriptor::KZ_STATIC_ASSERT |
( |
is_nothrow_move_constructible< ValueSourceEntry >::value |
, |
|
|
"Error" |
|
|
) |
| |
virtual ValueSource* kanzi::AbstractPropertyTypeDescriptor::constructValueSource |
( |
| ) |
|
|
pure virtual |
virtual void kanzi::AbstractPropertyTypeDescriptor::destructValueSource |
( |
ValueSource * |
valueSource | ) |
|
|
pure virtual |
virtual ModifierStorage* kanzi::AbstractPropertyTypeDescriptor::constructModifierStorage |
( |
| ) |
|
|
pure virtual |
virtual void kanzi::AbstractPropertyTypeDescriptor::destructModifierStorage |
( |
ModifierStorage * |
modifierStorage | ) |
|
|
pure virtual |
virtual NotificationStorage* kanzi::AbstractPropertyTypeDescriptor::constructNotificationStorage |
( |
| ) |
|
|
pure virtual |
virtual void kanzi::AbstractPropertyTypeDescriptor::destructNotificationStorage |
( |
NotificationStorage * |
notificationStorage | ) |
|
|
pure virtual |
Copy value source with type corresponding to this descriptor.
- Parameters
-
dst | Destination value source. |
src | Source value source. |
Implemented in kanzi::PropertyTypeDescriptor< T >.
Finds a fixed property type by name.
static void kanzi::AbstractPropertyTypeDescriptor::registerDescriptor |
( |
ManagedDescriptor |
descriptor | ) |
|
|
static |
const char* kanzi::AbstractPropertyTypeDescriptor::m_name |
Name of the property type.
const char* kanzi::AbstractPropertyTypeDescriptor::m_unqualifiedName |
Unqualified name of the property type.
uint32_t kanzi::AbstractPropertyTypeDescriptor::m_flags |
uint32_t kanzi::AbstractPropertyTypeDescriptor::m_changeFlags |
Change flags set on an object where a property of this type is set.
const uint32_t kanzi::AbstractPropertyTypeDescriptor::s_inheritedFlag |
|
static |
Bit flag to encode that the property type is inherited.
const uint32_t kanzi::AbstractPropertyTypeDescriptor::s_managedStringFlag |
|
static |
Bit flag to encode that the name of the property type is a local copy.
const uint32_t kanzi::AbstractPropertyTypeDescriptor::s_inheritedMask |
|
static |
Bit mask to extract inherited flag from m_flags.
The documentation for this class was generated from the following file: