]> Creatis software - gdcm.git/blobdiff - src/gdcmDict.h
* More memmory link related corrections and documentation fixes.
[gdcm.git] / src / gdcmDict.h
index 04975882e38b3356bacc58837bb26e790e3fd48b..5e56f3356eacb26d85376f0cecc2c939cb9b4920 100644 (file)
 typedef map<TagKey,  gdcmDictEntry*> TagKeyHT;
 typedef map<TagName, gdcmDictEntry*> TagNameHT;
 
+/// Build a memory representation of a dicom dictionary by parsing
+/// an ascii file
 class GDCM_EXPORT gdcmDict {
        string name;
        string filename;
-       TagKeyHT  KeyHt;                // Both accesses with a TagKey or with a
-       TagNameHT NameHt;               // TagName are required.
+   /// Access through TagKey (see alternate access with NameHt)
+       TagKeyHT  KeyHt;
+   /// Access through TagName (see alternate access with KeyHt)
+       TagNameHT NameHt;
 public:
-       gdcmDict(const char* FileName);   // Reads Dict from ascii file
+       gdcmDict(string & FileName);
+       ~gdcmDict();
        int AddNewEntry (gdcmDictEntry* NewEntry);
        int ReplaceEntry(gdcmDictEntry* NewEntry);
        int RemoveEntry (TagKey key);