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
#include "gdcmDictEntry.h"
#include <iostream>
+#include <fstream> // for ifstream
#include <list>
#include <map>
//-----------------------------------------------------------------------------
typedef std::string DictKey;
-typedef std::map<TagKey, DictEntry> TagKeyHT;
+typedef std::map<TagKey, DictEntry *> TagKeyHT;
+
//-----------------------------------------------------------------------------
/**
* \brief Dict acts a memory representation of a dicom dictionary i.e.
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();
/// Access through TagKey
TagKeyHT KeyHt;
+ /// Iterator for the entries
TagKeyHT::iterator ItKeyHt;
};
} // end namespace gdcm