X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.h;h=dcf6f7046c794bede47eda7107b1bb39747efcb2;hb=2908e8e550cb43a54f081c41a94e143f5a9b573e;hp=6773662c46f08f9d47ec7a75682d508d63239b9d;hpb=06c1c583239fdf5196260e6ef83a78669c1bd17f;p=gdcm.git diff --git a/src/gdcmFile.h b/src/gdcmFile.h index 6773662c..dcf6f704 100644 --- a/src/gdcmFile.h +++ b/src/gdcmFile.h @@ -57,19 +57,19 @@ public: // TODO Swig int Write(); // Write pixels of ONE image on hard drive - // No test is made on processor "stupidity" + // No test is made on processor "endianity" // The user must call his reader correctly bool WriteRawData (std::string fileName); bool WriteDcmImplVR(std::string fileName); bool WriteDcmImplVR(const char * fileName); bool WriteDcmExplVR(std::string fileName); bool WriteAcr (std::string fileName); - -protected: - bool WriteBase(std::string FileName, FileType type); - + // Body in file gdcmParse.cxx bool ParsePixelData(void); + +protected: + bool WriteBase(std::string FileName, FileType type); private: void SwapZone(void* im, int swap, int lgr, int nb);