From: malaterre Date: Fri, 14 Jan 2005 21:34:53 +0000 (+0000) Subject: STYLE: adding a comment on why we can use Serie Instance UID all the time (even with... X-Git-Tag: Version1.0.bp~327 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=inline;h=ad24565658c6ecaee9d09473ec60280c912815e9;p=gdcm.git STYLE: adding a comment on why we can use Serie Instance UID all the time (even with old NEMA) --- diff --git a/src/gdcmSerieHeader.cxx b/src/gdcmSerieHeader.cxx index 2c61c933..64fffb41 100644 --- a/src/gdcmSerieHeader.cxx +++ b/src/gdcmSerieHeader.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHeader.cxx,v $ Language: C++ - Date: $Date: 2005/01/14 21:30:53 $ - Version: $Revision: 1.7 $ + Date: $Date: 2005/01/14 21:34:53 $ + Version: $Revision: 1.8 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -66,6 +66,8 @@ void SerieHeader::AddFileName(std::string const &filename) { // 0020 000e UI REL Series Instance UID std::string uid = header->GetEntry (0x0020, 0x000e); + // if uid == GDCM_UNFOUND then consistenly we should find GDCM_UNFOUND + // no need here to do anything special if( CurrentSerieUID == "" ) { // Set the current one