X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkVfImageIO.h;h=fbe6d9cd6efc9c63f01313b2d76dabffa0422e61;hb=d55f025b18f68066a52b8f33c2dc6481e82c2580;hp=e26d7a907fab519169f709e91a316ce424674cf2;hpb=931a42358442f4ee4f314613c991c838d4b4e3b7;p=clitk.git diff --git a/common/clitkVfImageIO.h b/common/clitkVfImageIO.h index e26d7a9..fbe6d9c 100644 --- a/common/clitkVfImageIO.h +++ b/common/clitkVfImageIO.h @@ -1,3 +1,20 @@ +/*========================================================================= + Program: vv http://www.creatis.insa-lyon.fr/rio/vv + + Authors belong to: + - University of LYON http://www.universite-lyon.fr/ + - Léon Bérard cancer center http://www.centreleonberard.fr + - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the copyright notices for more information. + + It is distributed under dual licence + + - BSD See included LICENSE.txt file + - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +===========================================================================**/ #ifndef CLITKVFIMAGEIO_H #define CLITKVFIMAGEIO_H @@ -18,6 +35,9 @@ // itk include #include "itkImageIOBase.h" +// std include +#include + namespace clitk { //==================================================================== @@ -40,15 +60,15 @@ namespace clitk { itkTypeMacro(VfImageIO, 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(bool keepOfStream); - virtual void WriteImageInformation() { WriteImageInformation(false); } - virtual bool CanWriteFile(const char* filename); - virtual void Write(const void* buffer); + virtual void WriteImageInformation() ITK_OVERRIDE { WriteImageInformation(false); } + virtual bool CanWriteFile(const char* filename) ITK_OVERRIDE; + virtual void Write(const void* buffer) ITK_OVERRIDE; protected: bool mustWriteHeader; @@ -60,7 +80,7 @@ namespace clitk { } // end namespace // explicit template instantiation -template class itk::CreateObjectFunction; +//template class itk::CreateObjectFunction; #endif /* end #define CLITKVFIMAGEIO_H */