/*========================================================================= Program: gdcm Module: $RCSfile: gdcmDictGroupName.h,v $ Language: C++ Date: $Date: 2005/10/25 14:52:34 $ Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef GDCMDICTGROUPNAME_H #define GDCMDICTGROUPNAME_H #include "gdcmRefCounter.h" #include #include #include namespace gdcm { //----------------------------------------------------------------------------- /// Group Name Hash Table typedef std::map DictGroupNameHT; //----------------------------------------------------------------------------- /** * \brief Container for dicom 'Value Representation' Hash Table. * \note This is a singleton. */ class GDCM_EXPORT DictGroupName : public RefCounter { gdcmTypeMacro(DictGroupName); public: static DictGroupName *New() {return new DictGroupName();} void Print(std::ostream &os = std::cout); const TagName &GetName(uint16_t group); protected: DictGroupName(); ~DictGroupName(); private: DictGroupNameHT groupName; }; } // end namespace gdcm //----------------------------------------------------------------------------- #endif