X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkGateAsciiImageIO.h;h=ddcd00fbb1d9f28ff3c5108fe8b53174d3db380a;hb=13c3d27643a3200f3751ab3c391ba36a32a1293c;hp=d0abbea0b91922c47e73b48a3768eec279266ec4;hpb=9e137f701e07fdd5aef6982e6f1ce3153977c3f6;p=clitk.git diff --git a/common/clitkGateAsciiImageIO.h b/common/clitkGateAsciiImageIO.h index d0abbea..ddcd00f 100644 --- a/common/clitkGateAsciiImageIO.h +++ b/common/clitkGateAsciiImageIO.h @@ -19,7 +19,8 @@ #define CLITKGATEASCIIIMAGEIO_H // itk include -#include "itkImageIOBase.h" +#include +#include #if defined (_MSC_VER) && (_MSC_VER < 1600) //SR: taken from @@ -70,9 +71,9 @@ namespace clitk { virtual bool SupportsDimension(unsigned long dim); protected: - - static bool ReadHeader(FILE* handle, GateAsciiHeader& header); + static bool ReadHeader(FILE* handle, GateAsciiHeader& header); static bool ReadLine(FILE* handle, std::string& line); + static bool FindRegularExpressionNextLine(itksys::RegularExpression ®, std::string &s, FILE* handle); }; // end class GateAsciiImageIO } // end namespace