1 /*=========================================================================
4 Module: $RCSfile: gdcmElementSet.h,v $
6 Date: $Date: 2004/06/20 18:08:47 $
7 Version: $Revision: 1.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.
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.
17 =========================================================================*/
19 #ifndef GDCMELEMENTSET_H
20 #define GDCMELEMENTSET_H
24 #include "gdcmCommon.h"
25 #include "gdcmDocEntrySet.h"
27 typedef std::map<TagKey, gdcmDocEntry *> TagDocEntryHT;
29 //-----------------------------------------------------------------------------
31 class GDCM_EXPORT gdcmElementSet : public gdcmDocEntrySet
35 ~gdcmElementSet(void);
36 virtual bool AddEntry(gdcmDocEntry *Entry);
37 virtual bool RemoveEntry(gdcmDocEntry *EntryToRemove);
39 virtual void Print(std::ostream &os = std::cout);
43 /// Hash Table (map), to provide fast access
50 //-----------------------------------------------------------------------------