X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDictSet.h;h=4256ad8e3fc29defb1f33f0b6338ef1c05a3a42e;hb=bed33c23d52354bfe0c3714493754c60c05cb320;hp=f2f50634ccf9764135c6eac538f90c85706e5895;hpb=05abd393cf82392c894dd1d852e2273b0648671d;p=gdcm.git diff --git a/src/gdcmDictSet.h b/src/gdcmDictSet.h index f2f50634..4256ad8e 100644 --- a/src/gdcmDictSet.h +++ b/src/gdcmDictSet.h @@ -3,9 +3,9 @@ #ifndef GDCMDICTSET_H #define GDCMDICTSET_H +#include "gdcmDict.h" #include #include -#include "gdcmDict.h" typedef std::string DictKey; typedef std::map DictSetHT; @@ -14,7 +14,7 @@ typedef std::map DictSetHT; * \defgroup gdcmDictSet * \brief Container for managing a set of loaded dictionaries. * \note Hopefully, sharing dictionaries should avoid - * \par reloading an allready loaded dictionary (saving time) + * \par reloading an already loaded dictionary (saving time) * \par having many in memory representations of the same dictionary * (saving memory). */ @@ -25,7 +25,7 @@ private: /// Directory path to dictionaries std::string DictPath; int AppendDict(gdcmDict* NewDict); - void LoadDictFromFile(std::string filename, DictKey); + void LoadDictFromFile(std::string FileName, DictKey Name); std::string BuildDictPath(void); public: std::list * GetPubDictTagNames(void); @@ -41,7 +41,7 @@ public: // TODO Swig std::string* GetAllDictNames(); gdcmDictSet(void); ~gdcmDictSet(void); - void Print(ostream&); + void Print(std::ostream& os); gdcmDict* GetDict(DictKey DictName); gdcmDict* GetDefaultPubDict(void); };