X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmFile.h;h=d646cd01d8bb6137aaeec74e8c100b80718ee003;hb=ba8a9ca0672ca189114be7abdef289648fdfdef6;hp=ce3d99565c7b6e4c18d50ce109fb03c946be79d6;hpb=2903216d32144f3c716c1dc14fb29a5bc422c3b4;p=gdcm.git diff --git a/src/gdcmFile.h b/src/gdcmFile.h index ce3d9956..d646cd01 100644 --- a/src/gdcmFile.h +++ b/src/gdcmFile.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.h,v $ Language: C++ - Date: $Date: 2004/12/16 10:51:49 $ - Version: $Revision: 1.87 $ + Date: $Date: 2004/12/16 13:46:37 $ + Version: $Revision: 1.89 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,7 +19,8 @@ #ifndef GDCMFILE_H #define GDCMFILE_H -#include "gdcmCommon.h" +#include +#include "gdcmBase.h" namespace gdcm { @@ -35,7 +36,7 @@ class DocEntryArchive; * for accessing the image/volume content. One can also use it to * write Dicom/ACR-NEMA/RAW files. */ -class GDCM_EXPORT File +class GDCM_EXPORT File : public Base { public: enum FileMode @@ -51,6 +52,8 @@ public: virtual ~File(); + void Print(std::ostream &os = std::cout); + /// Accessor to \ref Header Header* GetHeader() { return HeaderInternal; } @@ -133,9 +136,7 @@ private: uint8_t* GetRaw(); -private: // members variables: - /// Header to use to load the file Header *HeaderInternal;