X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmElementSet.h;h=fe681ee4311e99d571e120698488c1b381eccbaa;hb=77cbc8232f9308aafb17bde18ef9549be212b741;hp=dcf695ad0bb9845bd46b02b81621514191c96c9f;hpb=5b89bede4607999aeb8d5b45311e7ee82f9471ef;p=gdcm.git diff --git a/src/gdcmElementSet.h b/src/gdcmElementSet.h index dcf695ad..fe681ee4 100644 --- a/src/gdcmElementSet.h +++ b/src/gdcmElementSet.h @@ -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 //-----------------------------------------------------------------------------