Specialization for PropertyType for enums. See PropertyType. More...
#include <kanzi/core/property/property_type.hpp>
Classes | |
struct | Traits |
Public Types | |
typedef Type | DataType |
typedef PropertyTypeDescriptor< int > | Descriptor |
Public Member Functions | |
Descriptor * | get () const |
uint32_t | getChangeFlags () const |
Gets the change flags for a property type. | |
PropertyDataType | getDataType () const |
Gets the data type of a property type. | |
Traits::ReturnType | getDefaultValue () const |
Gets the default value of a property type. | |
PropertyTypeEditorInfoSharedPtr | getEditorInfo () const |
Gets the editor information of a property type. | |
const char * | getName () const |
Gets the fully qualified name of a property type in the form "Class.PropertyType". | |
const char * | getUnqualifiedName () const |
Gets the unqualified name of a property type in the form "PropertyType". | |
bool | isInherited () const |
Returns whether a property type is inheritable. | |
operator AbstractPropertyType () const | |
PropertyType (FixedString name, Type defaultValue, uint32_t changeFlags, bool inheritable) | |
PropertyType (FixedString name, Type defaultValue, uint32_t changeFlags, bool inheritable, PropertyTypeEditorInfoSharedPtr editorInfo) | |
PropertyType (MetadataGeneratedName name, Type defaultValue, uint32_t changeFlags, bool inheritable) | |
PropertyType (MetadataGeneratedName name, Type defaultValue, uint32_t changeFlags, bool inheritable, PropertyTypeEditorInfoSharedPtr editorInfo) | |
~PropertyType () | |
Protected Member Functions | |
PropertyType () | |
Friends | |
class | AbstractPropertyType |
class | DynamicPropertyType< Type > |
class | Node |
class | Object |
Specialization for PropertyType for enums. See PropertyType.
typedef Type kanzi::PropertyType< Type, typename enable_if< is_enum< Type >::value >::type >::DataType |
typedef PropertyTypeDescriptor<int> kanzi::PropertyType< Type, typename enable_if< is_enum< Type >::value >::type >::Descriptor |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inlineexplicitprotected |
|
inline |
|
inline |
Gets the default value of a property type.
When no other value is available, getProperty functions return the default value.
|
inline |
Gets the fully qualified name of a property type in the form "Class.PropertyType".
|
inline |
Gets the unqualified name of a property type in the form "PropertyType".
|
inline |
Gets the data type of a property type.
The data type of a property type defines the data representation type of each property value. For example, float.
|
inline |
Returns whether a property type is inheritable.
Inheritable property types provide values to all descendant nodes.
|
inline |
Gets the change flags for a property type.
Change flags indicate whether a modification of property value invalidates a particular aspect of a node. For example, when you change the Node::HeightProperty or Node::WidthProperty in a node Kanzi recalculates the layout.
|
inline |
Gets the editor information of a property type.
|
inline |
|
friend |
|
friend |