X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmFile.h;h=e978703b6060caa3b91d6a3895d20f3fbce398d9;hb=c5618e6b8276e1b21bbea354fe8bcba3c78eb4bd;hp=29287b24a9bc6842472a8dfe6aef9e43943af071;hpb=55d77e0913ff360d639af1841c70d14dc8687584;p=gdcm.git diff --git a/src/gdcmFile.h b/src/gdcmFile.h index 29287b24..e978703b 100644 --- a/src/gdcmFile.h +++ b/src/gdcmFile.h @@ -16,8 +16,16 @@ class GDCM_EXPORT gdcmFile { public: gdcmFile(gdcmHeader *header); - gdcmFile(std::string & filename); - gdcmFile(const char * filename); + gdcmFile(std::string & filename, + bool exception_on_error = false, + bool enable_sequences = false, + bool skip_shadow = false); + + gdcmFile(const char * filename, + bool exception_on_error = false, + bool enable_sequences = false, + bool skip_shadow = false); + virtual ~gdcmFile(void); gdcmHeader *GetHeader(void); @@ -64,7 +72,7 @@ public: bool WriteDcmImplVR(const char * fileName); bool WriteDcmExplVR(std::string fileName); bool WriteAcr (std::string fileName); - + // Body in file gdcmParse.cxx bool ParsePixelData(void); @@ -106,7 +114,7 @@ private: /// ==0 if GetImageData was used /// ==-1 if ImageData never read int PixelRead; - . + /// weather already parsed int Parsed;