X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.h;h=2fc8e8c491f6beba445f9519872768d145323300;hb=fe180328806c1528b6d7a8518780569c866dff40;hp=b55056717de81199305c6a5075bc1174029b9793;hpb=a4c5c2742a2db55720d4aedec1b2c51a94a19c60;p=gdcm.git diff --git a/src/gdcmHeader.h b/src/gdcmHeader.h index b5505671..2fc8e8c4 100644 --- a/src/gdcmHeader.h +++ b/src/gdcmHeader.h @@ -71,8 +71,6 @@ private: guint16 ReadInt16(void); guint32 ReadInt32(void); - guint16 SwapShort(guint16); - guint32 SwapLong(guint32); guint32 FindLengthOB(void); void Initialise(void); void CheckSwap(void); @@ -100,6 +98,9 @@ private: protected: FILE * fp; FileType filetype; + + guint16 SwapShort(guint16); // needed by gdcmFile + guint32 SwapLong(guint32); // for JPEG Files :-( bool OpenFile(bool exception_on_error = false) throw(gdcmFileError); bool CloseFile(void);