]> Creatis software - gdcm.git/blobdiff - src/gdcmElementSet.h
SerieHelper Normalization : stage 1
[gdcm.git] / src / gdcmElementSet.h
index dcf695ad0bb9845bd46b02b81621514191c96c9f..fe681ee4311e99d571e120698488c1b381eccbaa 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmElementSet.h,v $
   Language:  C++
-  Date:      $Date: 2005/02/02 16:18:48 $
-  Version:   $Revision: 1.41 $
+  Date:      $Date: 2005/09/02 07:10:03 $
+  Version:   $Revision: 1.45 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -47,7 +47,8 @@ public:
    ElementSet(int);
    ~ElementSet();
 
-   virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" ); 
+   virtual void Print(std::ostream &os = std::cout, 
+                      std::string const &indent = "" ); 
 
    void WriteContent(std::ofstream *fp, FileType filetype); 
 
@@ -58,10 +59,9 @@ public:
    
    DocEntry *GetFirstEntry();
    DocEntry *GetNextEntry();
-
    DocEntry *GetDocEntry(uint16_t group, uint16_t elem);
-
-   bool IsEmpty() { return TagHT.empty(); };
+   /// Tells us if the ElementSet contains no entry
+   bool IsEmpty() { return TagHT.empty(); }
 
 protected:
 
@@ -69,8 +69,10 @@ private:
 // Variables
    /// Hash Table (map), to provide fast access
    TagDocEntryHT TagHT;
-   /// Hash Table (map) iterator, used to visit the TagHT variable
-   TagDocEntryHT::iterator ItTagHT; 
+   /// iterator, used to visit the TagHT variable
+   TagDocEntryHT::iterator ItTagHT;
+   /// iterator, used to visit the TagHT variable, seeking only for ValEntries
+   TagDocEntryHT::iterator ItValEntryTagHT;
 };
 } // end namespace gdcm
 //-----------------------------------------------------------------------------