]> Creatis software - gdcm.git/blobdiff - src/gdcmElementSet.h
COMP: Fix comp on gcc295
[gdcm.git] / src / gdcmElementSet.h
index c1da9457d10441695996b84172e2d9ab9b02dccf..2d1529cb5135f908b134e59006df57bcee55fb93 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmElementSet.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/25 04:47:43 $
-  Version:   $Revision: 1.21 $
+  Date:      $Date: 2004/11/30 16:24:31 $
+  Version:   $Revision: 1.25 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -23,6 +23,7 @@
 #include "gdcmDocEntrySet.h"
 #include <map>
 #include <iostream>
+#include <fstream>
 
 class ValEntry;
 class BinEntry;
@@ -45,22 +46,28 @@ public:
    bool RemoveEntryNoDestroy(DocEntry *EntryToRemove);
    
    void Print(std::ostream &os = std::cout); 
-   void Write(std::ofstream *fp, FileType filetype); 
+   void WriteContent(std::ofstream *fp, FileType filetype); 
    
    /// Accessor to \ref TagHT
    // Do not expose this to user (public API) ! 
    // A test is using it thus put it in public (matt)
    TagDocEntryHT const & GetTagHT() const { return TagHT; };
 
+   void Initialize();
+   DocEntry *GetNextEntry();
+
 protected:
     
 private:
 // Variables
    /// Hash Table (map), to provide fast access
    TagDocEntryHT TagHT; 
+   /// Hash Table (map) iterator, used to visit the TagHT variable
+   TagDocEntryHT::iterator ItTagHT; 
  
    friend class Document;
    friend class DicomDir; //For accessing private TagHT
+   friend class DocEntryArchive; //For accessing private TagHT
 };
 } // end namespace gdcm
 //-----------------------------------------------------------------------------