Medical Imaging Interaction Toolkit  2024.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 {
22  {
23  public:
25  virtual ~PropertyDeserialization();
26 
29 
30  itk::SmartPointer<BaseProperty> CreateInstance(const std::string& className) override;
31 
32  protected:
33  void InternalRegisterProperty(const BaseProperty* property) override;
34 
35  private:
36  using MapType = std::map<std::string, BaseProperty::ConstPointer>;
37  MapType m_Map;
38  };
39 }
40 
41 #endif
mitk::BaseProperty
Abstract base class for properties.
Definition: mitkBaseProperty.h:36
mitk::PropertyDeserialization::CreateInstance
itk::SmartPointer< BaseProperty > CreateInstance(const std::string &className) override
mitk::PropertyDeserialization::~PropertyDeserialization
virtual ~PropertyDeserialization()
itk::SmartPointer
Definition: mitkIFileReader.h:30
mitk::IPropertyDeserialization
Interface of property deserialization service.
Definition: mitkIPropertyDeserialization.h:34
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitkIPropertyDeserialization.h
mitk::PropertyDeserialization::operator=
PropertyDeserialization & operator=(const PropertyDeserialization &)=delete
mitk::PropertyDeserialization
Definition: mitkPropertyDeserialization.h:21
mitk::PropertyDeserialization::PropertyDeserialization
PropertyDeserialization()
mitk::PropertyDeserialization::InternalRegisterProperty
void InternalRegisterProperty(const BaseProperty *property) override