X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=Example%2FToInTag.cxx;h=119779d11bfd39ecd50da686a05b454aea94800e;hb=c5ac3331cd0380dd44c10ccb9a17ed8587380144;hp=fbc2cc129703b2bb406d34db7083a07c175cffca;hpb=bb1ab5267dc422b14306458809d13d6a3e5ebb47;p=gdcm.git diff --git a/Example/ToInTag.cxx b/Example/ToInTag.cxx index fbc2cc12..119779d1 100755 --- a/Example/ToInTag.cxx +++ b/Example/ToInTag.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: ToInTag.cxx,v $ Language: C++ - Date: $Date: 2007/05/29 10:36:10 $ - Version: $Revision: 1.12 $ + Date: $Date: 2007/06/22 11:01:57 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -436,7 +436,8 @@ int main(int argc, char *argv[]) currentFile = it2->second; fullFilename = currentFile->GetFileName(); - lastFilename = GDCM_NAME_SPACE::Util::GetName( fullFilename ); + lastFilename = GDCM_NAME_SPACE::Util::GetName( fullFilename ); + if (verbose) std::cout <<" ------------------------------------------------------------------------------" << std::endl << " Deal with [" << it2->first << "] : ["< COL - else if (seriesDescription.find("0", 0)!= -1) + else if (seriesDescription.find("0", 0)!= std::string::npos) chSessionIndex = "2"; // 0 deg -> ROW else {