7 #ifndef __INR2ITK_ITKINRIMAGEIOFACTORY_HPP__ 8 #define __INR2ITK_ITKINRIMAGEIOFACTORY_HPP__ 10 #include <itkImageIOBase.h> 11 #include <itkObjectFactoryBase.h> 24 typedef ObjectFactoryBase Superclass;
25 typedef SmartPointer<Self> Pointer;
26 typedef SmartPointer<const Self> ConstPointer;
29 virtual const char* GetITKSourceVersion(
void)
const override;
30 virtual const char* GetDescription(
void)
const override;
33 itkFactorylessNewMacro(Self)
39 static
void RegisterOneFactory(
void)
41 InrImageIOFactory::Pointer metaFactory = InrImageIOFactory::New();
42 ObjectFactoryBase::RegisterFactory(metaFactory);
48 virtual void PrintSelf(std::ostream& os, Indent indent)
const override;
52 void operator=(
const Self&);
58 #endif // __INR2ITK_ITKINRIMAGEIOFACTORY_HPP__
Create instances of InrImageIO objects using an object factory.