From 3785fddfe2583d592f815044dc0a944f98c08df2 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 22 Jun 2004 14:42:01 +0000 Subject: [PATCH] Well ... gdcmBinEntry::Write doesn't need filtetype parameter (only PrintCommonPart does) --- src/gdcmBinEntry.cxx | 6 +++--- src/gdcmBinEntry.h | 6 +++--- src/gdcmElementSet.cxx | 6 +++--- src/gdcmSQItem.cxx | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/gdcmBinEntry.cxx b/src/gdcmBinEntry.cxx index b21eab91..0e37c125 100644 --- a/src/gdcmBinEntry.cxx +++ b/src/gdcmBinEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmBinEntry.cxx,v $ Language: C++ - Date: $Date: 2004/06/22 13:56:08 $ - Version: $Revision: 1.14 $ + Date: $Date: 2004/06/22 14:42:01 $ + Version: $Revision: 1.15 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -85,7 +85,7 @@ void gdcmBinEntry::Print(std::ostream &os) /* * \brief canonical Writer */ -void gdcmBinEntry::Write(FILE *fp, FileType filetype) { +void gdcmBinEntry::Write(FILE *fp) { void *voidArea = GetVoidArea(); int lgr=GetLength(); if (voidArea != NULL) diff --git a/src/gdcmBinEntry.h b/src/gdcmBinEntry.h index 946b8a32..90763e3b 100644 --- a/src/gdcmBinEntry.h +++ b/src/gdcmBinEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmBinEntry.h,v $ Language: C++ - Date: $Date: 2004/06/22 13:47:33 $ - Version: $Revision: 1.9 $ + Date: $Date: 2004/06/22 14:42:02 $ + Version: $Revision: 1.10 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,7 +41,7 @@ public: ~gdcmBinEntry(void); void Print(std::ostream &os = std::cout); - virtual void Write(FILE *fp, FileType filetype); + virtual void Write(FILE *fp); /// \brief Returns the area value of the current Dicom Header Entry /// when it's not string-translatable (e.g : a LUT table) diff --git a/src/gdcmElementSet.cxx b/src/gdcmElementSet.cxx index 95cea960..0b373346 100644 --- a/src/gdcmElementSet.cxx +++ b/src/gdcmElementSet.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmElementSet.cxx,v $ Language: C++ - Date: $Date: 2004/06/22 14:37:04 $ - Version: $Revision: 1.11 $ + Date: $Date: 2004/06/22 14:42:02 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -90,7 +90,7 @@ void gdcmElementSet::Write(FILE *fp, FileType filetype) { // e->Write(fp,filetype); // This will be the right way to proceed ! if (gdcmBinEntry* BinEntry = dynamic_cast< gdcmBinEntry* >(e) ) { - BinEntry->Write(fp,filetype); + BinEntry->Write(fp); continue; } if (gdcmValEntry* ValEntry = dynamic_cast< gdcmValEntry* >(e) ) { diff --git a/src/gdcmSQItem.cxx b/src/gdcmSQItem.cxx index 603bb256..be7fb0ce 100644 --- a/src/gdcmSQItem.cxx +++ b/src/gdcmSQItem.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSQItem.cxx,v $ Language: C++ - Date: $Date: 2004/06/22 14:37:04 $ - Version: $Revision: 1.13 $ + Date: $Date: 2004/06/22 14:42:02 $ + 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 @@ -90,7 +90,7 @@ gdcmSQItem::~gdcmSQItem() (Entry)->WriteCommonPart(fp, filetype); if (gdcmBinEntry* BinEntry = dynamic_cast< gdcmBinEntry* >(Entry) ) { - BinEntry->Write(fp,filetype); + BinEntry->Write(fp); return; } if (gdcmValEntry* ValEntry = dynamic_cast< gdcmValEntry* >(Entry) ) { -- 2.48.1