X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Testing%2FTestAllPrint.cxx;h=3962137b3a4d3b3d1ade514fa56cc444a1db8d67;hb=ead1ddd3fcdebedc60b1f24c59a1892a7a2da2df;hp=983c09eb909fa6959730606b8dac9e25cf353b56;hpb=e30768c5d2c9057ca9be9bdb2d12ff1eb1384539;p=gdcm.git diff --git a/Testing/TestAllPrint.cxx b/Testing/TestAllPrint.cxx index 983c09eb..3962137b 100644 --- a/Testing/TestAllPrint.cxx +++ b/Testing/TestAllPrint.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestAllPrint.cxx,v $ Language: C++ - Date: $Date: 2005/07/02 22:51:04 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/08/30 15:13:07 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -48,10 +48,10 @@ int TestAllPrint(int, char *[]) std::string filename = gdcmDataImages[i]; gdcm::File file; - file.SetLoadMode( NO_SEQ ); - file.Load(filename); + file.SetLoadMode( gdcm::LD_NOSEQ ); + file.SetFileName( filename ); + file.Load(); //file.Print( std::cout ); //just for debug - i++; } return 0;