]> Creatis software - clitk.git/blobdiff - common/clitkGateAsciiImageIO.h
cosmetic for .ggo
[clitk.git] / common / clitkGateAsciiImageIO.h
index 7d174f82ed01e164ef3d9d241af455b046f00428..d5eefc1d7c11fb71a1d5bc2d73ee194f918ffee1 100644 (file)
@@ -30,6 +30,8 @@ typedef unsigned int uint32_t;
 #include <stdint.h>
 #endif
 
+#include "clitkCommon.h"
+
 namespace clitk
 {
 
@@ -42,7 +44,6 @@ public:
   typedef GateAsciiImageIO        Self;
   typedef itk::ImageIOBase        Superclass;
   typedef itk::SmartPointer<Self> Pointer;
-  typedef signed short int        PixelType;
 
   struct GateAsciiHeader {
     double matrix_size[3];
@@ -60,16 +61,16 @@ public:
   itkTypeMacro(GateAsciiImageIO, ImageIOBase);
 
   /*-------- This part of the interface deals with reading data. ------ */
-  virtual void ReadImageInformation();
-  virtual bool CanReadFile( const char* FileNameToRead );
-  virtual void Read(void * buffer);
+  virtual void ReadImageInformation() ITK_OVERRIDE;
+  virtual bool CanReadFile( const char* FileNameToRead ) ITK_OVERRIDE;
+  virtual void Read(void * buffer) ITK_OVERRIDE;
 
   /*-------- This part of the interfaces deals with writing data. ----- */
-  virtual void WriteImageInformation();
-  virtual bool CanWriteFile(const char* filename);
-  virtual void Write(const void* buffer);
+  virtual void WriteImageInformation() ITK_OVERRIDE;
+  virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE;
+  virtual void Write(const void* buffer) ITK_OVERRIDE;
 
-  virtual bool SupportsDimension(unsigned long dim);
+  virtual bool SupportsDimension(unsigned long dim) ITK_OVERRIDE;
 
 protected:
   static bool ReadHeader(FILE* handle, GateAsciiHeader& header);