Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
itkMRMLIDImageIOFactory.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkMRMLIDImageIOFactory.h,v $
5  Language: C++
6  Date: $Date: 2004/07/15 16:26:40 $
7  Version: $Revision: 1.1 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef itkMRMLIDImageIOFactory_h
18 #define itkMRMLIDImageIOFactory_h
19 
20 #include "itkObjectFactoryBase.h"
21 #include "itkImageIOBase.h"
22 
23 #include "itkMRMLIDImageIO.h"
24 
25 #include "itkMRMLIDIOExport.h"
26 
27 namespace itk
28 {
32 class MRMLIDImageIO_EXPORT MRMLIDImageIOFactory : public ObjectFactoryBase
33 {
34 public:
37  typedef ObjectFactoryBase Superclass;
38  typedef SmartPointer<Self> Pointer;
39  typedef SmartPointer<const Self> ConstPointer;
40 
42  virtual const char* GetITKSourceVersion(void) const ITK_OVERRIDE;
43  virtual const char* GetDescription(void) const ITK_OVERRIDE;
44 
46  itkFactorylessNewMacro(Self);
48 
50  itkTypeMacro(MRMLIDImageIOFactory, ObjectFactoryBase);
51 
53  static void RegisterOneFactory(void)
54  {
55  MRMLIDImageIOFactory::Pointer nrrdFactory = MRMLIDImageIOFactory::New();
56  ObjectFactoryBase::RegisterFactory(nrrdFactory);
57  }
58 
59 protected:
62 
63 private:
64  MRMLIDImageIOFactory(const Self&); //purposely not implemented
65  void operator=(const Self&); //purposely not implemented
66 
67 };
68 
69 
70 }
71 
72 #endif
Simplified inverse ITK transforms.
SmartPointer< const Self > ConstPointer
Create instances of MRMLIDImageIO objects using an object factory.
static MRMLIDImageIOFactory * FactoryNew()
#define MRMLIDImageIO_EXPORT