]> Creatis software - gdcm.git/commitdiff
Well ...
authorjpr <jpr>
Tue, 22 Jun 2004 14:42:01 +0000 (14:42 +0000)
committerjpr <jpr>
Tue, 22 Jun 2004 14:42:01 +0000 (14:42 +0000)
gdcmBinEntry::Write doesn't need filtetype parameter
(only PrintCommonPart does)

src/gdcmBinEntry.cxx
src/gdcmBinEntry.h
src/gdcmElementSet.cxx
src/gdcmSQItem.cxx

index b21eab91a8da7001538eec1a72649ab7001995ca..0e37c125ea1d05fe1d3187710a60c7fba00ba2c3 100644 (file)
@@ -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) 
index 946b8a3262cf821b223ab0a6a66907007f771038..90763e3baccea57a807d30c7dab37b4612486dbb 100644 (file)
@@ -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)         
index 95cea960349661b6f3252676549d6f7dd256e0cd..0b373346fdc4b77ca884123f8f7e6896f6cca8bf 100644 (file)
@@ -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) ) {
index 603bb256cc43843556073b301eaefcca595ebbe7..be7fb0ce77bff44d001fa496989661c33ae6fa6b 100644 (file)
@@ -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) ) {