1 /*=========================================================================
4 Module: $RCSfile: gdcmDictGroupName.h,v $
6 Date: $Date: 2007/08/22 16:14:04 $
7 Version: $Revision: 1.10 $
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"
28 namespace GDCM_NAME_SPACE
31 //-----------------------------------------------------------------------------
32 /// Group Name Hash Table
33 typedef std::map<uint16_t, TagName> DictGroupNameHT;
35 //-----------------------------------------------------------------------------
37 * \brief Container for dicom 'Group Name' Hash Table.
38 * (formerly NIH defined ACR-NEMA group name)
39 * \note This is a singleton.
41 class GDCM_EXPORT DictGroupName : public RefCounter
43 gdcmTypeMacro(DictGroupName);
46 static DictGroupName *New() {return new DictGroupName();}
48 virtual void Print(std::ostream &os = std::cout,
49 std::string const &indent = "" );
51 const TagName &GetName(uint16_t group);
58 DictGroupNameHT groupName;
60 } // end namespace gdcm
62 //-----------------------------------------------------------------------------