Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
Interface of property deserialization service. More...
#include <mitkIPropertyDeserialization.h>
Public Member Functions | |
virtual | ~IPropertyDeserialization () |
virtual BaseProperty::Pointer | CreateInstance (const std::string &className)=0 |
template<typename T , typename = std::enable_if_t<std::is_base_of_v<BaseProperty, T>>> | |
void | RegisterProperty () |
Register a custom property type for deserialization. More... | |
Protected Member Functions | |
virtual void | InternalRegisterProperty (const BaseProperty *property)=0 |
Interface of property deserialization service.
This service allows you to register custom property types (derived from BaseProperty) for deserialization. If a property type is not registered, it cannot be deserialized, e.g. when deserializing a PropertyList.
Definition at line 34 of file mitkIPropertyDeserialization.h.
|
virtual |
|
pure virtual |
Implemented in mitk::PropertyDeserialization.
|
protectedpure virtual |
Implemented in mitk::PropertyDeserialization.
|
inline |
Register a custom property type for deserialization.
The module activator of the module defining a property type is a good location to register custom property types of that module. See the implementation of MitkCoreActivator for examples.
Definition at line 49 of file mitkIPropertyDeserialization.h.