1 /*=========================================================================
4 Module: $RCSfile: gdcmElementSet.h,v $
6 Date: $Date: 2004/07/19 03:34:12 $
7 Version: $Revision: 1.11 $
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"
32 typedef std::map<gdcmTagKey, gdcmDocEntry *> TagDocEntryHT;
34 //-----------------------------------------------------------------------------
36 class GDCM_EXPORT gdcmElementSet : public gdcmDocEntrySet
41 virtual bool AddEntry(gdcmDocEntry *Entry);
42 virtual bool RemoveEntry(gdcmDocEntry *EntryToRemove);
44 virtual void Print(std::ostream &os = std::cout);
45 virtual void Write(FILE *fp, FileType filetype);
47 /// Accessor to \ref gdcmElementSet::tagHT
48 // Do not expose this to user (public API) !
49 //TagDocEntryHT &GetEntry() { return TagHT; };
53 /// Hash Table (map), to provide fast access
57 //friend class gdcmDicomDir;
60 //-----------------------------------------------------------------------------