]> Creatis software - gdcm.git/blobdiff - src/gdcmBinEntry.cxx
ENH: bad hack to be able to write dicom the way I want, sorry
[gdcm.git] / src / gdcmBinEntry.cxx
index de10fd2a9d84fb6e6ad0191ac489d75f7d29f90a..651ed623062dadb91f4126bb1734ae9f463fbd7d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmBinEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/01 03:20:23 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2004/08/31 14:24:47 $
+  Version:   $Revision: 1.23 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -28,7 +28,7 @@
  */
 gdcmBinEntry::gdcmBinEntry(gdcmDictEntry* e) : gdcmValEntry(e)
 {
-   voidArea = NULL;
+   VoidArea = NULL;
 }
 
 /**
@@ -44,7 +44,7 @@ gdcmBinEntry::gdcmBinEntry(gdcmDocEntry* e) : gdcmValEntry(e->GetDictEntry())
    PrintLevel   = e->GetPrintLevel();
    SQDepthLevel = e->GetDepthLevel();
 
-   voidArea = NULL; // let's be carefull !
+   VoidArea = NULL; // let's be carefull !
 }
 
 /**
@@ -52,10 +52,10 @@ gdcmBinEntry::gdcmBinEntry(gdcmDocEntry* e) : gdcmValEntry(e->GetDictEntry())
  */
 gdcmBinEntry::~gdcmBinEntry()
 {
-   if (voidArea)
+   if (VoidArea)
    {
-      free (voidArea);
-      voidArea = NULL; // let's be carefull !
+      free (VoidArea);
+      VoidArea = NULL; // let's be carefull !
    }
 }
 
@@ -93,7 +93,9 @@ void gdcmBinEntry::Print(std::ostream &os)
 
 /*
  * \brief   canonical Writer
- */
+ * @param fp already open file pointer
+ * @param filetype type of the file to be written
+*/
 void gdcmBinEntry::Write(FILE *fp, FileType filetype)
 {
    gdcmDocEntry::Write(fp, filetype);