]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirElement.cxx
ENH: Pass 2 at cleaning the JPEG mess. Still some work to do, but things are getting...
[gdcm.git] / src / gdcmDicomDirElement.cxx
index 47e0750e1a4ed41f5285cdc4ba8372d4a58ebdc0..9d0bd87822e784090c3694e50b0b8b810f5f98ae 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirElement.cxx,v $
   Language:  C++
-  Date:      $Date: 2005/01/20 17:15:54 $
-  Version:   $Revision: 1.30 $
+  Date:      $Date: 2005/01/28 17:01:29 $
+  Version:   $Revision: 1.32 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -84,7 +84,7 @@ DicomDirElement::DicomDirElement()
             from.getline(buff, 1024, '"');
             elem.Value = buff;
 
-            AddNewEntry(type, elem);
+            AddEntry(type, elem);
          }
          from.getline(buff, 1024, '\n');
       }
@@ -108,7 +108,6 @@ DicomDirElement::~DicomDirElement()
 // Print
 /**
  * \brief   Print all
- * \todo add a 'Print Level' check 
  * @param   os The output stream to be written to.
  */
 void DicomDirElement::Print(std::ostream &os)
@@ -159,12 +158,11 @@ void DicomDirElement::Print(std::ostream &os)
 //-----------------------------------------------------------------------------
 // Public
 /**
- * \brief AddNewEntry 
+ * \brief Add an entry 
  * @param type type
  * @param elem elem
  */
-bool DicomDirElement::AddNewEntry(DicomDirType type, 
-                                  Element const &elem)
+bool DicomDirElement::AddEntry(DicomDirType type, Element const &elem)
 {
    switch( type )
    {