X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestPrintAllDocument.cxx;h=7325f9c35e98384dab432e5eff23674f82875875;hb=203521dab07f8ff3325b78969f6994b4a1c4375e;hp=1ef573842d12efe475b28ee2392ad6bacf7d5363;hpb=27c37e95b55fb51d7f8de13bebac4f299d487c17;p=gdcm.git diff --git a/Testing/TestPrintAllDocument.cxx b/Testing/TestPrintAllDocument.cxx index 1ef57384..7325f9c3 100644 --- a/Testing/TestPrintAllDocument.cxx +++ b/Testing/TestPrintAllDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestPrintAllDocument.cxx,v $ Language: C++ - Date: $Date: 2005/07/05 18:47:38 $ - Version: $Revision: 1.4 $ + Date: $Date: 2005/07/21 04:51:26 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -55,7 +55,10 @@ int TestPrintAllDocument(int, char *[]) filename += "/"; //doh! filename += gdcmDataImages[i]; - gdcm::File *e1= new gdcm::File( filename ); + gdcm::File *e1= new gdcm::File( ); + e1->SetFileName( filename ); + e1->Load(); + e1->SetPrintLevel(2); e1->Print(); // just to be able to grep the display result, for some usefull info