From bcbba24e317b815f9ae86263001d97551c3e8db3 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 4 Jul 2007 15:40:51 +0000 Subject: [PATCH] Avoid confusion due to missing values --- Example/ToInTag.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Example/ToInTag.cxx b/Example/ToInTag.cxx index 68aa3ff8..93ef144c 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/07/04 10:31:55 $ - Version: $Revision: 1.15 $ + Date: $Date: 2007/07/04 15:40:51 $ + Version: $Revision: 1.16 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -354,7 +354,7 @@ int main(int argc, char *argv[]) f->Delete(); continue; } - } + } userFileIdentifier=s->CreateUserDefinedFileIdentifier(f); tokens.clear(); @@ -363,7 +363,7 @@ int main(int argc, char *argv[]) int imageNum; // Within FileName char newName[1024]; - if ( tokens[3] == "gdcmUnfound") // sometimes Trigger Time is not found. CreateUserDefinedFileIdentifier is not aware of the pb. + if ( tokens[3] == GDCM_NAME_SPACE::GDCM_UNFOUND) // sometimes Trigger Time is not found. CreateUserDefinedFileIdentifier is not aware of the pb. { ///this is a trick to build up a lexicographical compliant name : /// eg : fich001.ima vs fich100.ima as opposed to fich1.ima vs fich100.ima -- 2.45.1