Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkModalityProperty.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef mitkModalityProperty_h_Included
18 #define mitkModalityProperty_h_Included
19 
21 #include <MitkCoreExports.h>
22 #include <itkObjectFactory.h>
23 
24 namespace mitk
25 {
26 #ifdef _MSC_VER
27 #pragma warning(push)
28 #pragma warning(disable : 4522)
29 #endif
30 
37  {
38  public:
40  itkFactorylessNewMacro(Self) itkCloneMacro(Self) mitkNewMacro1Param(ModalityProperty, const IdType &);
41  mitkNewMacro1Param(ModalityProperty, const std::string &);
42 
43  using BaseProperty::operator=;
44 
45  protected:
46  ModalityProperty();
47  ModalityProperty(const IdType &value);
48  ModalityProperty(const std::string &value);
49 
50  virtual ~ModalityProperty();
51  virtual void AddEnumerationTypes();
52 
53  private:
54  // purposely not implemented
55  const ModalityProperty &operator=(const ModalityProperty &);
56 
57  virtual itk::LightObject::Pointer InternalClone() const override;
58  };
59 
60 #ifdef _MSC_VER
61 #pragma warning(pop)
62 #endif
63 
64 } // namespace
65 
66 #endif
#define MITKCORE_EXPORT
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
Enumerates all known modalities.
STL namespace.
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44