Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
mitkOrganTypeProperty.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 mitkOrganTypeProperty_h_Included
18 #define mitkOrganTypeProperty_h_Included
19 
21 #include "mitkCommon.h"
23 #include <itkObjectFactory.h>
24 
25 namespace mitk
26 {
27 #ifdef _MSC_VER
28 #pragma warning(push)
29 #pragma warning(disable : 4522)
30 #endif
31 
42  {
43  public:
45  itkFactorylessNewMacro(Self) itkCloneMacro(Self) mitkNewMacro1Param(OrganTypeProperty, const IdType &);
46  mitkNewMacro1Param(OrganTypeProperty, const std::string &);
47 
48  using BaseProperty::operator=;
49 
50  protected:
52  OrganTypeProperty(const IdType &value);
53  OrganTypeProperty(const std::string &value);
54 
55  virtual ~OrganTypeProperty();
56  virtual void AddEnumerationTypes();
57 
58  private:
59  // purposely not implemented
60  OrganTypeProperty &operator=(const OrganTypeProperty &);
61 
62  virtual itk::LightObject::Pointer InternalClone() const override;
63  };
64 
65 #ifdef _MSC_VER
66 #pragma warning(pop)
67 #endif
68 
69 } // namespace
70 
71 #endif
itk::SmartPointer< Self > Pointer
#define mitkNewMacro1Param(classname, type)
Definition: mitkCommon.h:76
#define MITKDATATYPESEXT_EXPORT
Enumerates all known organs :-)
DataCollection - Class to facilitate loading/accessing structured data.
Abstract base class for properties.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44