X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.h;h=37d0076e3caf192b0b103df295dafc79f6f53c06;hb=fce636f415a75a2c4cd178bf5c3ca3a836ddae31;hp=77d837c9f0a3aa1cceb038b36f0fef1f8a251554;hpb=90a2b8eeadb9d5afb2bc165b080f8a4622f5deb4;p=gdcm.git diff --git a/src/gdcmDict.h b/src/gdcmDict.h index 77d837c9..37d0076e 100644 --- a/src/gdcmDict.h +++ b/src/gdcmDict.h @@ -7,8 +7,8 @@ #include "gdcmCommon.h" #include "gdcmDictEntry.h" -typedef map TagKeyHT; -typedef map TagNameHT; +typedef std::map TagKeyHT; +typedef std::map TagNameHT; /* * \defgroup gdcmDict @@ -21,14 +21,14 @@ typedef map TagNameHT; * \see gdcmDictSet */ class GDCM_EXPORT gdcmDict { - string name; - string filename; + std::string name; + std::string filename; /// Access through TagKey (see alternate access with NameHt) TagKeyHT KeyHt; /// Access through TagName (see alternate access with KeyHt) TagNameHT NameHt; public: - gdcmDict(string & FileName); + gdcmDict(std::string & FileName); ~gdcmDict(); int AddNewEntry (gdcmDictEntry* NewEntry); int ReplaceEntry(gdcmDictEntry* NewEntry); @@ -36,9 +36,9 @@ public: int RemoveEntry (guint16 group, guint16 element); gdcmDictEntry * GetTagByNumber(guint16 group, guint16 element); gdcmDictEntry * GetTagByName(TagName name); - void Print(ostream&); - void PrintByKey(ostream&); - void PrintByName(ostream&); + void Print(std::ostream&); + void PrintByKey(std::ostream&); + void PrintByName(std::ostream&); TagKeyHT & GetEntries(void) { return KeyHt; } };