From 2504fedde09a123036ce0f06e11ebd4cb9699e6a Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 7 Jun 2005 09:58:29 +0000 Subject: [PATCH] Use TranslateToKey better than Format --- src/gdcmDicomDirElement.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/gdcmDicomDirElement.cxx b/src/gdcmDicomDirElement.cxx index b71f0f8f..f6f9004e 100644 --- a/src/gdcmDicomDirElement.cxx +++ b/src/gdcmDicomDirElement.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirElement.cxx,v $ Language: C++ - Date: $Date: 2005/02/11 15:22:18 $ - Version: $Revision: 1.36 $ + Date: $Date: 2005/06/07 09:58:29 $ + Version: $Revision: 1.37 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -178,35 +178,35 @@ void DicomDirElement::Print(std::ostream &os) s << "Meta Elements :"<Group,it->Elem); + greltag = DictEntry::TranslateToKey(it->Group,it->Elem); s << " (" << greltag << ") = " << it->Value << std::endl; } s << "Patient Elements :"<Group,it->Elem); + greltag = DictEntry::TranslateToKey(it->Group,it->Elem); s << " (" << greltag << ") = " << it->Value << std::endl; } s << "Study Elements :"<Group, it->Elem); + greltag = DictEntry::TranslateToKey(it->Group, it->Elem); s << " (" << greltag << ") = " << it->Value << std::endl; } s << "Serie Elements :"<Group, it->Elem); + greltag = DictEntry::TranslateToKey( it->Group, it->Elem); s << " (" << greltag << ") = " << it->Value << std::endl; } s << "Image Elements :"<Group, it->Elem); + greltag = DictEntry::TranslateToKey(it->Group, it->Elem); s << " (" << greltag << ") = " << it->Value << std::endl; } -- 2.46.1