Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkPropertyDeserialization.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkPropertyDeserialization_h
14 #define mitkPropertyDeserialization_h
15 
17 #include <map>
18 
19 namespace mitk
20 {
29  {
30  public:
33 
36 
44  itk::SmartPointer<BaseProperty> CreateInstance(const std::string& className) override;
45 
46  protected:
51  void InternalRegisterProperty(const BaseProperty* property) override;
52 
53  private:
54  using MapType = std::map<std::string, BaseProperty::ConstPointer>;
55  MapType m_Map;
56  };
57 }
58 
59 #endif
Abstract base class for properties.
Interface of property deserialization service.
Implementation of the IPropertyDeserialization service interface.
itk::SmartPointer< BaseProperty > CreateInstance(const std::string &className) override
Create a new instance of a registered property type.
PropertyDeserialization & operator=(const PropertyDeserialization &)=delete
void InternalRegisterProperty(const BaseProperty *property) override
Register a property prototype for deserialization.
PropertyDeserialization(const PropertyDeserialization &)=delete
Find image slices visible on a given plane.