X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.h;h=8f9f0bb7906de143ff85e3c4dcb02c293402ed28;hb=1b0a484fb60998358b818b710071d82dc9003679;hp=ca31531e5e1687c1dbdf6b946205899386724625;hpb=5a0d183707a94e875a595036f64d0bd506faf618;p=gdcm.git diff --git a/src/gdcmDict.h b/src/gdcmDict.h index ca31531e..8f9f0bb7 100644 --- a/src/gdcmDict.h +++ b/src/gdcmDict.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDict.h,v $ Language: C++ - Date: $Date: 2005/01/14 11:28:30 $ - Version: $Revision: 1.31 $ + Date: $Date: 2005/01/20 11:39:49 $ + Version: $Revision: 1.34 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -54,26 +54,22 @@ public: ~Dict(); // Print - void Print(std::ostream &os = std::cout); + void Print(std::ostream &os = std::cout, std::string const & indent = ""); // Entries void ClearEntry (); bool AddNewEntry (DictEntry const &newEntry); bool ReplaceEntry(DictEntry const &newEntry); bool RemoveEntry (TagKey const &key); - bool RemoveEntry (uint16_t group, uint16_t element); + bool RemoveEntry (uint16_t group, uint16_t elem); // Tag - DictEntry *GetDictEntry(uint16_t group, uint16_t element); + DictEntry *GetDictEntry(uint16_t group, uint16_t elem); // EntryNamesList *GetDictEntryNames(); // EntryNamesByCatMap *GetDictEntryNamesByCategory(); - /// \brief Returns a ref to the Dicom Dictionary H table (map) - /// @return the Dicom Dictionary H table - //const TagKeyHT & GetEntries() const { return KeyHt; } - - void InitTraversal(); + DictEntry *GetFirstEntry(); DictEntry *GetNextEntry(); private: