Implementation of the IPropertyDeserialization service interface.
More...
#include <mitkPropertyDeserialization.h>
Implementation of the IPropertyDeserialization service interface.
Maintains a registry of property type prototypes that can be used to create new property instances during deserialization based on class name strings.
- See also
- IPropertyDeserialization
Definition at line 28 of file mitkPropertyDeserialization.h.
◆ PropertyDeserialization() [1/2]
| mitk::PropertyDeserialization::PropertyDeserialization |
( |
| ) |
|
◆ ~PropertyDeserialization()
| virtual mitk::PropertyDeserialization::~PropertyDeserialization |
( |
| ) |
|
|
virtual |
◆ PropertyDeserialization() [2/2]
◆ CreateInstance()
Create a new instance of a registered property type.
Uses the stored prototype to create a new instance via CreateAnother().
- Parameters
-
| className | The class name of the property type to instantiate. |
- Returns
- A new property instance, or nullptr if the class name is not registered.
Implements mitk::IPropertyDeserialization.
◆ InternalRegisterProperty()
| void mitk::PropertyDeserialization::InternalRegisterProperty |
( |
const BaseProperty * |
property | ) |
|
|
overrideprotectedvirtual |
Register a property prototype for deserialization.
- Parameters
-
| property | The property prototype to register (keyed by its class name). |
Implements mitk::IPropertyDeserialization.
◆ operator=()
The documentation for this class was generated from the following file: