Medical Imaging Interaction Toolkit  2018.4.99-6aa36ba9
Medical Imaging Interaction Toolkit
mitkPlanarFigureIOFactory.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 #ifndef __mitkPlanarFigureIOFactory_h
13 #define __mitkPlanarFigureIOFactory_h
14 
15 #ifdef _MSC_VER
16 #pragma warning(disable : 4786)
17 #endif
18 
19 #include "itkObjectFactoryBase.h"
20 #include "mitkBaseData.h"
21 
22 namespace mitk
23 {
24  //##Documentation
25  //## @brief Create instances of PlanarFigureReader objects using an object factory.
26  //##
27  //## @ingroup MitkPlanarFigureModule
28  class PlanarFigureIOFactory : public itk::ObjectFactoryBase
29  {
30  public:
33  typedef itk::ObjectFactoryBase Superclass;
36 
38  const char *GetITKSourceVersion(void) const override;
39  const char *GetDescription(void) const override;
40 
42  itkFactorylessNewMacro(Self);
45  itkTypeMacro(PlanarFigureIOFactory, ObjectFactoryBase);
46 
51  DEPRECATED(static void RegisterOneFactory(void))
52  {
54  ObjectFactoryBase::RegisterFactory(PlanarFigureIOFactory);
55  }
56 
57  protected:
59  ~PlanarFigureIOFactory() override;
60 
61  private:
62  PlanarFigureIOFactory(const Self &); // purposely not implemented
63  void operator=(const Self &); // purposely not implemented
64  };
65 
66 } // end namespace mitk
67 
68 #endif
itk::SmartPointer< const Self > ConstPointer
DataCollection - Class to facilitate loading/accessing structured data.
const char * GetITKSourceVersion(void) const override
#define DEPRECATED(func)
Definition: mitkCommon.h:179
static PlanarFigureIOFactory * FactoryNew()
Create instances of PlanarFigureReader objects using an object factory.
itk::SmartPointer< Self > Pointer
const char * GetDescription(void) const override