kanzi::DynamicPropertyType< Type > Class Template Reference

DynamicPropertyType is a handle for property types that are unknown. More...

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

Inheritance diagram for kanzi::DynamicPropertyType< Type >:
kanzi::PropertyType< Type >

Public Member Functions

 DynamicPropertyType (string_view name)
 
 DynamicPropertyType (AbstractPropertyType abstractPropertyType)
 
 ~DynamicPropertyType ()
 
- Public Member Functions inherited from kanzi::PropertyType< Type >
 PropertyType (FixedString name)
 
 PropertyType (MetadataGeneratedName name)
 
 PropertyType (FixedString name, DataType defaultValue, uint32_t changeFlags, bool inheritable)
 
 PropertyType (MetadataGeneratedName name, DataType defaultValue, uint32_t changeFlags, bool inheritable)
 
 PropertyType (FixedString name, DataType defaultValue, uint32_t changeFlags, bool inheritable, PropertyTypeEditorInfo *editorInfo)
 
 PropertyType (MetadataGeneratedName name, DataType defaultValue, uint32_t changeFlags, bool inheritable, PropertyTypeEditorInfo *editorInfo)
 
 ~PropertyType ()
 
 operator AbstractPropertyType () const
 
Traits::ReturnType getDefaultValue () const
 Returns the default value for the property type. More...
 
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...
 
Descriptorget () const
 

Additional Inherited Members

- Public Types inherited from kanzi::PropertyType< Type >
typedef Type DataType
 
typedef PropertyTypeDescriptor< Type > Descriptor
 
typedef PropertyTypeDescriptor< Type >::Traits Traits
 
- Protected Member Functions inherited from kanzi::PropertyType< Type >
 PropertyType ()
 

Detailed Description

template<class Type>
class kanzi::DynamicPropertyType< Type >

DynamicPropertyType is a handle for property types that are unknown.

You can use DynamicPropertyType to access property types if you know their data type and name.

Constructor & Destructor Documentation

template<class Type >
kanzi::DynamicPropertyType< Type >::DynamicPropertyType ( string_view  name)
inlineexplicit
template<class Type >
kanzi::DynamicPropertyType< Type >::DynamicPropertyType ( AbstractPropertyType  abstractPropertyType)
inlineexplicit
template<class Type >
kanzi::DynamicPropertyType< Type >::~DynamicPropertyType ( )
inline

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