X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FTestCopyDicom.cxx;h=c8f67dc934e7bfdd8702e9f18bec55d2d353411e;hb=f564e117e998524a24ec56587e058b7e3625455c;hp=554f3a5c72a1d87b7b3526ef14369379315a40c1;hpb=bbfa3cf89fc2ede7c43259e945f021044b56069f;p=gdcm.git diff --git a/Example/TestCopyDicom.cxx b/Example/TestCopyDicom.cxx index 554f3a5c..c8f67dc9 100644 --- a/Example/TestCopyDicom.cxx +++ b/Example/TestCopyDicom.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestCopyDicom.cxx,v $ Language: C++ - Date: $Date: 2005/02/02 14:26:30 $ - Version: $Revision: 1.24 $ + Date: $Date: 2005/07/08 12:02:02 $ + Version: $Revision: 1.25 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -80,7 +80,10 @@ int main(int argc, char *argv[]) return 1; } } - gdcm::FileHelper *original = new gdcm::FileHelper( filename ); + gdcm::File *fileOr = new gdcm::File(); + fileOr->SetFileName( filename ); + fileOr->Load(); + gdcm::FileHelper *original = new gdcm::FileHelper( fileOr ); std::cout << "--- Original ----------------------" << std::endl; //original->GetFile()->Print();