X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDict.h;h=d48b96944fc028167744cba3d0afb14ab643fe99;hb=403b2021a56b6afcbf8ddf977dbbfed37ad0d917;hp=68aacb933e26a4cc9007b9393cd057022c2c299f;hpb=67aacdcd9af99ca00b8333adaac5057d95912bff;p=gdcm.git diff --git a/src/gdcmDict.h b/src/gdcmDict.h index 68aacb93..d48b9694 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/09/02 07:00:04 $ - Version: $Revision: 1.40 $ + Date: $Date: 2005/10/23 15:32:30 $ + Version: $Revision: 1.44 $ 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 "gdcmDictEntry.h" #include +#include // for ifstream #include #include @@ -31,7 +32,8 @@ namespace gdcm //----------------------------------------------------------------------------- typedef std::string DictKey; -typedef std::map TagKeyHT; +typedef std::map TagKeyHT; + //----------------------------------------------------------------------------- /** * \brief Dict acts a memory representation of a dicom dictionary i.e. @@ -55,8 +57,8 @@ public: void Print(std::ostream &os = std::cout, std::string const &indent = ""); // Entries - bool AddEntry(DictEntry const &newEntry); - bool ReplaceEntry(DictEntry const &newEntry); + bool AddEntry(DictEntry *newEntry); + bool ReplaceEntry(DictEntry *newEntry); bool RemoveEntry (TagKey const &key); bool RemoveEntry (uint16_t group, uint16_t elem); void ClearEntry(); @@ -76,6 +78,7 @@ private: /// Access through TagKey TagKeyHT KeyHt; + /// Iterator for the entries TagKeyHT::iterator ItKeyHt; }; } // end namespace gdcm