1 /*=========================================================================
4 Module: $RCSfile: gdcmDictGroupName.h,v $
6 Date: $Date: 2005/10/26 08:04:15 $
7 Version: $Revision: 1.5 $
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.html 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 GDCMDICTGROUPNAME_H
20 #define GDCMDICTGROUPNAME_H
22 #include "gdcmRefCounter.h"
31 //-----------------------------------------------------------------------------
32 /// Group Name Hash Table
33 typedef std::map<uint16_t, TagName> DictGroupNameHT;
35 //-----------------------------------------------------------------------------
37 * \brief Container for dicom 'Value Representation' Hash Table.
38 * \note This is a singleton.
40 class GDCM_EXPORT DictGroupName : public RefCounter
42 gdcmTypeMacro(DictGroupName);
45 static DictGroupName *New() {return new DictGroupName();}
47 virtual void Print(std::ostream &os = std::cout,
48 std::string const &indent = "" );
50 const TagName &GetName(uint16_t group);
57 DictGroupNameHT groupName;
59 } // end namespace gdcm
61 //-----------------------------------------------------------------------------