From 01b8a6a38ef3eb36670dada5f3abc48b09692db4 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 26 Oct 2005 06:23:37 +0000 Subject: [PATCH] Typo --- src/gdcmFile.cxx | 8 ++++---- src/gdcmSerieHelper.cxx | 8 ++++---- src/gdcmSerieHelper.h | 8 +++++--- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/src/gdcmFile.cxx b/src/gdcmFile.cxx index 9d435e13..e65e2efa 100644 --- a/src/gdcmFile.cxx +++ b/src/gdcmFile.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmFile.cxx,v $ Language: C++ - Date: $Date: 2005/10/25 15:28:49 $ - Version: $Revision: 1.296 $ + Date: $Date: 2005/10/26 06:23:37 $ + Version: $Revision: 1.297 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1474,10 +1474,10 @@ bool File::Write(std::string fileName, FileType writetype) // Derma?.dcm does not have it...let's remove it FIXME FIXME if( writetype != JPEG ) - { + { int i_lgPix = GetEntryLength(GrPixel, NumPixel); if (i_lgPix != -2) - { + { // no (GrPixel, NumPixel) element std::string s_lgPix = Util::Format("%d", i_lgPix+12); s_lgPix = Util::DicomString( s_lgPix.c_str() ); diff --git a/src/gdcmSerieHelper.cxx b/src/gdcmSerieHelper.cxx index c205856f..06ffc2db 100644 --- a/src/gdcmSerieHelper.cxx +++ b/src/gdcmSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2005/10/25 14:52:35 $ - Version: $Revision: 1.30 $ + Date: $Date: 2005/10/26 06:23:37 $ + Version: $Revision: 1.31 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -425,7 +425,7 @@ XCoherentFileSetmap SerieHelper::SplitOnOrientation(FileList *fileSet) strOrient = ossOrient.str(); ossOrient.str(""); // FIXME : is it a 'cleaner' way to initialize an ostringstream? - + if ( CoherentFileSet.count(strOrient) == 0 ) { gdcmDebugMacro(" New Orientation :[" << strOrient << "]"); @@ -434,7 +434,7 @@ XCoherentFileSetmap SerieHelper::SplitOnOrientation(FileList *fileSet) } // Current Orientation and DICOM header match; add the file: CoherentFileSet[strOrient]->push_back( (*it) ); - } + } return CoherentFileSet; } diff --git a/src/gdcmSerieHelper.h b/src/gdcmSerieHelper.h index 6b91c5bb..b41c9ece 100644 --- a/src/gdcmSerieHelper.h +++ b/src/gdcmSerieHelper.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.h,v $ Language: C++ - Date: $Date: 2005/10/23 15:04:26 $ - Version: $Revision: 1.25 $ + Date: $Date: 2005/10/26 06:23:37 $ + Version: $Revision: 1.26 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -92,7 +92,9 @@ public: FileList *GetFirstSingleSerieUIDFileSet(); FileList *GetNextSingleSerieUIDFileSet(); FileList *GetSingleSerieUIDFileSet(std::string serieUID); - + /// brief returns the 'Series Instance UID' Single SerieUID FileSet + std::string GetCurrentSerieUIDFileSetUID() + { return (*ItFileSetHt).first; } /// All the following allow user to restrict DICOM file to be part /// of a particular serie GDCM_LEGACY( void AddRestriction(TagKey const &key, std::string const &value) ); -- 2.45.1