#include "itkVersion.h"
namespace clitk {
-
- //====================================================================
- // Factory for reading GateAscii Image file format
- class GateAsciiImageIOFactory: public itk::ObjectFactoryBase
- {
- public:
- /** Standard class typedefs. */
- typedef GateAsciiImageIOFactory Self;
- typedef itk::ObjectFactoryBase Superclass;
- typedef itk::SmartPointer<Self> Pointer;
- typedef itk::SmartPointer<const Self> ConstPointer;
-
- /** Class methods used to interface with the registered factories. */
- const char* GetITKSourceVersion(void) const {
- return ITK_SOURCE_VERSION;
- }
-
- const char* GetDescription(void) const {
- return "GateAscii ImageIO Factory, allows the loading of gate ascii images into insight";
- }
-
- /** Method for class instantiation. */
- itkFactorylessNewMacro(Self);
-
- /** Run-time type information (and related methods). */
- itkTypeMacro(GateAsciiImageIOFactory, ObjectFactoryBase);
-
- /** Register one factory of this type */
- static void RegisterOneFactory(void) {
- ObjectFactoryBase::RegisterFactory( Self::New() );
- }
-
- protected:
- GateAsciiImageIOFactory();
- ~GateAsciiImageIOFactory() {};
- typedef GateAsciiImageIOFactory myProductType;
- const myProductType* m_MyProduct;
-
- private:
- GateAsciiImageIOFactory(const Self&); //purposely not implemented
- void operator=(const Self&); //purposely not implemented
- };
+
+ //====================================================================
+ // Factory for reading GateAscii Image file format
+ class GateAsciiImageIOFactory: public itk::ObjectFactoryBase
+ {
+ public:
+ /** Standard class typedefs. */
+ typedef GateAsciiImageIOFactory Self;
+ typedef itk::ObjectFactoryBase Superclass;
+ typedef itk::SmartPointer<Self> Pointer;
+ typedef itk::SmartPointer<const Self> ConstPointer;
+
+ /** Class methods used to interface with the registered factories. */
+ const char* GetITKSourceVersion(void) const ITK_OVERRIDE {
+ return ITK_SOURCE_VERSION;
+ }
+
+ const char* GetDescription(void) const ITK_OVERRIDE {
+ return "GateAscii ImageIO Factory, allows the loading of gate ascii images into insight";
+ }
+
+ /** Method for class instantiation. */
+ itkFactorylessNewMacro(Self);
+
+ /** Run-time type information (and related methods). */
+ itkTypeMacro(GateAsciiImageIOFactory, ObjectFactoryBase);
+
+ /** Register one factory of this type */
+ static void RegisterOneFactory(void) {
+ ObjectFactoryBase::RegisterFactory( Self::New() );
+ }
+
+ protected:
+ GateAsciiImageIOFactory();
+ ~GateAsciiImageIOFactory() {};
+
+ private:
+ GateAsciiImageIOFactory(const Self&); //purposely not implemented
+ void operator=(const Self&); //purposely not implemented
+ };
} // end namespace