kanzi::AbstractPropertyType Class Reference

AbstractPropertyType is a homogeneous property type handle. More...

#include <kanzi/core/property/abstract_property_type.hpp>

Public Member Functions

 operator bool_type () const
 
AbstractPropertyTypeDescriptorget () const
 
const char * getName () const
 Returns the fully qualified name of the property type in form "Class.PropertyType". More...
 
const char * getUnqualifiedName () const
 Returns the unqualified name of the property type in form "PropertyType", where the qualified name is "Class.PropertyType". More...
 
PropertyDataType getDataType () const
 Returns the data type of the property type. More...
 
bool isInherited () const
 Returns true if the property type is inheritable, false otherwise. More...
 
uint32_t getChangeFlags () const
 Returns the change flags of the property type. More...
 
PropertyTypeEditorInfoSharedPtr getEditorInfo () const
 Returns the editor information of the property type. More...
 
 AbstractPropertyType ()
 
 AbstractPropertyType (AbstractPropertyTypeDescriptor *descriptor)
 
 AbstractPropertyType (string_view name)
 

Friends

bool operator== (const AbstractPropertyType &left, const AbstractPropertyType &right)
 
bool operator!= (const AbstractPropertyType &left, const AbstractPropertyType &right)
 
bool operator< (const AbstractPropertyType &left, const AbstractPropertyType &right)
 
bool operator> (const AbstractPropertyType &left, const AbstractPropertyType &right)
 

Detailed Description

AbstractPropertyType is a homogeneous property type handle.

AbstractPropertyType can be used to operate on property types when the actual property type and its data type are unknown or irrelevant. To set or get property values a DynamicPropertyType with corresponding data type must be constructed from an AbstractPropertyType.

Constructor & Destructor Documentation

kanzi::AbstractPropertyType::AbstractPropertyType ( )
inlineexplicit
kanzi::AbstractPropertyType::AbstractPropertyType ( AbstractPropertyTypeDescriptor descriptor)
inlineexplicit
kanzi::AbstractPropertyType::AbstractPropertyType ( string_view  name)
inlineexplicit

Member Function Documentation

kanzi::AbstractPropertyType::operator bool_type ( ) const
inline
AbstractPropertyTypeDescriptor* kanzi::AbstractPropertyType::get ( ) const
inline
const char* kanzi::AbstractPropertyType::getName ( ) const
inline

Returns the fully qualified name of the property type in form "Class.PropertyType".

const char* kanzi::AbstractPropertyType::getUnqualifiedName ( ) const
inline

Returns the unqualified name of the property type in form "PropertyType", where the qualified name is "Class.PropertyType".

PropertyDataType kanzi::AbstractPropertyType::getDataType ( ) const
inline

Returns the data type of the property type.

The data type of the property type defines the data representation type of each property value, for example float.

bool kanzi::AbstractPropertyType::isInherited ( ) const
inline

Returns true if the property type is inheritable, false otherwise.

Inheritable property types provide values for all objects down the hierarchy.

uint32_t kanzi::AbstractPropertyType::getChangeFlags ( ) const
inline

Returns the change flags of the property type.

Change flags can indicate that particular aspect of an object should be invalidated when you modify a property, for example layout.

PropertyTypeEditorInfoSharedPtr kanzi::AbstractPropertyType::getEditorInfo ( ) const
inline

Returns the editor information of the property type.

Friends And Related Function Documentation

bool operator== ( const AbstractPropertyType left,
const AbstractPropertyType right 
)
friend
bool operator!= ( const AbstractPropertyType left,
const AbstractPropertyType right 
)
friend
bool operator< ( const AbstractPropertyType left,
const AbstractPropertyType right 
)
friend
bool operator> ( const AbstractPropertyType left,
const AbstractPropertyType right 
)
friend

The documentation for this class was generated from the following file: