]> Creatis software - gdcm.git/blobdiff - src/gdcmDictSet.h
*FIX: DOH ! Forgot about windo$e users, they couldn't read lossless jpeg, from medcon...
[gdcm.git] / src / gdcmDictSet.h
index 8d9f5b043f03212d3c1ee4b1a304d46e5bdf05d8..4256ad8e3fc29defb1f33f0b6338ef1c05a3a42e 100644 (file)
@@ -3,9 +3,9 @@
 #ifndef GDCMDICTSET_H
 #define GDCMDICTSET_H
 
+#include "gdcmDict.h"
 #include <map>
 #include <list>
-#include "gdcmDict.h"
 
 typedef std::string DictKey;
 typedef std::map<DictKey, gdcmDict*> DictSetHT;
@@ -14,7 +14,7 @@ typedef std::map<DictKey, gdcmDict*> 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<std::string> * GetPubDictTagNames(void);
@@ -41,7 +41,7 @@ public:
        // TODO Swig std::string* GetAllDictNames();
        gdcmDictSet(void);
        ~gdcmDictSet(void);
-       void Print(std::ostream&);
+       void Print(std::ostream& os);
        gdcmDict* GetDict(DictKey DictName);
        gdcmDict* GetDefaultPubDict(void);
 };