]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirMeta.cxx
* CLEANUP_ROUND (6) for gdcmPixelConvert (man, I need a paddle bad)
[gdcm.git] / src / gdcmDicomDirMeta.cxx
index 42997e8c5e833265c32f538f1583508053f2ea2e..3bb33b3a4823927dead6b30547ffa756d5d459ef 100644 (file)
@@ -3,12 +3,12 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirMeta.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/08/27 15:48:44 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2004/09/27 08:39:06 $
+  Version:   $Revision: 1.11 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
-  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
                                                                                 
      This software is distributed WITHOUT ANY WARRANTY; without even
      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
@@ -26,8 +26,8 @@
  * \ingroup gdcmMeta
  * \brief  Constructor
  */ 
-gdcmDicomDirMeta::gdcmDicomDirMeta(TagDocEntryHT *ptagHT):
-   gdcmObject(ptagHT)
+gdcmDicomDirMeta::gdcmDicomDirMeta(TagDocEntryHTptagHT):
+   gdcmDicomDirObject(ptagHT)
 {
 
 }
@@ -44,12 +44,12 @@ gdcmDicomDirMeta::~gdcmDicomDirMeta()
 //-----------------------------------------------------------------------------
 // Print
 /**
- * \brief   Prints the Object
+ * \brief   Prints the Meta Elements
  */ 
-void gdcmDicomDirMeta::Print(std::ostream &os)
+void gdcmDicomDirMeta::Print(std::ostreamos)
 {
    os << "META" << std::endl;
-   //gdcmObject::Print(os);
+   // warning : META doesn't behave exactly like a gdcmObjet 
    for (ListDocEntry::iterator i = docEntries.begin();  
         i != docEntries.end();
         ++i)
@@ -65,7 +65,7 @@ void gdcmDicomDirMeta::Print(std::ostream &os)
  * \brief   Writes the Meta Elements
  * @return
  */ 
-void gdcmDicomDirMeta::Write(FILE *fp, FileType t)
+void gdcmDicomDirMeta::Write(FILEfp, FileType t)
 {   
    for (ListDocEntry::iterator i = docEntries.begin();  
         i != docEntries.end();