]> Creatis software - gdcm.git/blob - src/gdcmElementSet.h
* Erroneous leading white fix:
[gdcm.git] / src / gdcmElementSet.h
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmElementSet.h,v $
5   Language:  C++
6   Date:      $Date: 2004/06/20 18:08:47 $
7   Version:   $Revision: 1.8 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18
19 #ifndef GDCMELEMENTSET_H
20 #define GDCMELEMENTSET_H
21
22 #include <map>
23 #include <iostream>
24 #include "gdcmCommon.h"
25 #include "gdcmDocEntrySet.h"
26
27 typedef std::map<TagKey, gdcmDocEntry *> TagDocEntryHT;
28
29 //-----------------------------------------------------------------------------
30
31 class GDCM_EXPORT gdcmElementSet : public gdcmDocEntrySet
32 {
33 public:
34    gdcmElementSet(int);
35    ~gdcmElementSet(void);
36    virtual bool AddEntry(gdcmDocEntry *Entry);
37    virtual bool RemoveEntry(gdcmDocEntry *EntryToRemove);
38
39    virtual void Print(std::ostream &os = std::cout); 
40     
41 protected:
42 // Variables
43    /// Hash Table (map), to provide fast access
44    TagDocEntryHT tagHT; 
45      
46 private:
47    
48 };
49
50 //-----------------------------------------------------------------------------
51 #endif
52