X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FexSerieHelper.cxx;h=9c521d00da91bbbb8cf62470b5f06bc0e422a509;hb=eec7a8779419734a614b42b118a290e6881e05ef;hp=a585765ab5a524cf555052b107503307e255427e;hpb=0928b363175e554f311cec5a173374d8ede1a7df;p=gdcm.git diff --git a/Example/exSerieHelper.cxx b/Example/exSerieHelper.cxx index a585765a..9c521d00 100644 --- a/Example/exSerieHelper.cxx +++ b/Example/exSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2009/05/28 15:44:34 $ - Version: $Revision: 1.18 $ + Date: $Date: 2010/09/01 14:41:48 $ + Version: $Revision: 1.19 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) { START_USAGE(usage) "\n exSerieHelper :\n ", - "Example on how to use the methodes of gdcm::SerieHelper ", + "Example on how to use the methods of gdcm::SerieHelper ", "usage: exSerieHelper {dirin=inputDirectoryName} ", " [ { [noshadowseq] | [noshadow][noseq] } ] [debug] ", " ", @@ -53,7 +53,7 @@ int main(int argc, char *argv[]) if (am->ArgMgrDefined("debug")) GDCM_NAME_SPACE::Debug::DebugOn(); - + if (am->ArgMgrDefined("warning")) GDCM_NAME_SPACE::Debug::WarningOn(); @@ -81,7 +81,6 @@ int main(int argc, char *argv[]) return 0; } - std::cout << "Dir Name :[" << dirName << "]" << std::endl; // // Sometimes using only SerieHelper is not enought ! @@ -129,7 +128,7 @@ int main(int argc, char *argv[]) while (l) { nbFiles = l->size() ; - if ( nbFiles > 5 ) // Why not ? Just an example, for testing + if ( nbFiles > 2 ) // Why not ? Just an example, for testing { std::cout << "List to sort : " << nbFiles << " long" << std::endl; //---------------------------------------------------------