]> Creatis software - gdcm.git/blob - src/gdcmElementSet.h
Last commit before the final(?) one, for the new version.
[gdcm.git] / src / gdcmElementSet.h
1 // gdcmElementSet.h
2
3 #ifndef GDCMELEMENTSET_H
4 #define GDCMELEMENTSET_H
5
6 #include "gdcmDocEntrySet.h"
7 #include "gdcmDocEntry.h"
8
9 #include <map>
10 typedef std::string TagKey;
11 typedef std::map<TagKey, gdcmDocEntry *> TagDocEntryHT;
12
13
14 //-----------------------------------------------------------------------------
15
16 class GDCM_EXPORT gdcmElementSet : public gdcmDocEntrySet 
17 {
18 public:
19    gdcmElementSet(int);
20    ~gdcmElementSet(void);
21    virtual bool AddEntry(gdcmDocEntry *Entry); // add to the H Table
22
23    virtual void Print        (std::ostream &os = std::cout); 
24     
25 protected:
26
27 // Variables
28
29    /// Hash Table (map), to provide fast access
30    TagDocEntryHT tagHT; 
31      
32 private:
33    
34 };
35
36 //-----------------------------------------------------------------------------
37 #endif
38