X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FWriteRead.cxx;h=b5a5a9415f5e0f8820d7af6018a34c11b536cac2;hb=b746e20eb22f7032673d36a34d672d1913a7daad;hp=d4b5594d204f8ef2278b7f7bf7cc09ec9b679536;hpb=d00078b5e19310b379c8339fa8fe38362e8ca392;p=gdcm.git diff --git a/Example/WriteRead.cxx b/Example/WriteRead.cxx index d4b5594d..b5a5a941 100644 --- a/Example/WriteRead.cxx +++ b/Example/WriteRead.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteRead.cxx,v $ Language: C++ - Date: $Date: 2005/01/20 16:16:58 $ - Version: $Revision: 1.10 $ + Date: $Date: 2005/01/21 11:40:53 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -15,8 +15,8 @@ PURPOSE. See the above copyright notices for more information. =========================================================================*/ -#include "gdcmHeader.h" #include "gdcmFile.h" +#include "gdcmFileHelper.h" #include @@ -24,7 +24,7 @@ int main(int argc, char* argv[]) { std::string zozo; - gdcm::Header* e1, *e2; + gdcm::File* e1, *e2; gdcm::FileHelper * f1, *f2; uint8_t* imageData, *imageData2; @@ -42,7 +42,7 @@ int main(int argc, char* argv[]) std::cout << argv[1] << std::endl; - e1 = new gdcm::Header( toto ); + e1 = new gdcm::File( toto ); if (!e1->IsReadable()) { std::cerr << "Sorry, " << toto <<" not a Readable DICOM / ACR File" <IsReadable()) { std::cerr << "Sorry, " << zozo << " not a Readable DICOM / ACR File" <