X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Example%2FWriteRead.cxx;h=b5a5a9415f5e0f8820d7af6018a34c11b536cac2;hb=b746e20eb22f7032673d36a34d672d1913a7daad;hp=526edfbbdf02ef0836af34b87174a6a1621d2b31;hpb=a1632352fa2c6d5bbc306d8bbf70511eac325324;p=gdcm.git diff --git a/Example/WriteRead.cxx b/Example/WriteRead.cxx index 526edfbb..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:31:42 $ - Version: $Revision: 1.11 $ + 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,7 +15,7 @@ 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" <