From fadb2c46f30ae619d5cf8410acc6a65fae28159a Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 5 Sep 2005 08:31:25 +0000 Subject: [PATCH] 'Print level' defaulted to 1 --- Example/PrintFile.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Example/PrintFile.cxx b/Example/PrintFile.cxx index ef69a0b4..69533421 100644 --- a/Example/PrintFile.cxx +++ b/Example/PrintFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PrintFile.cxx,v $ Language: C++ - Date: $Date: 2005/09/04 15:43:12 $ - Version: $Revision: 1.53 $ + Date: $Date: 2005/09/05 08:31:25 $ + Version: $Revision: 1.54 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -179,7 +179,7 @@ int main(int argc, char *argv[]) loadMode |= gdcm::LD_NOSEQ; } - int level = am->ArgMgrGetInt("level", 2); + int level = am->ArgMgrGetInt("level", 1); int forceLoadNb; uint16_t *elemsToForceLoad @@ -391,6 +391,8 @@ int main(int argc, char *argv[]) it != fileList.end(); ++it ) { + std::cout << std::endl<<" Start processing :[" << it->c_str() << "]" + << std::endl; f = new gdcm::File(); f->SetLoadMode(loadMode); f->SetFileName( it->c_str() ); -- 2.45.1