1 /*=========================================================================
4 Module: $RCSfile: gdcmVR.h,v $
6 Date: $Date: 2004/07/02 13:55:28 $
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.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 =========================================================================*/
22 #include "gdcmCommon.h"
27 //-----------------------------------------------------------------------------
28 typedef std::string gdcmVRKey;
29 typedef std::string gdcmVRAtr;
30 /// Value Representation Hash Table
31 typedef std::map<gdcmVRKey, gdcmVRAtr> gdcmVRHT;
33 //-----------------------------------------------------------------------------
35 * Container for dicom Value Representation Hash Table
36 * \note This is a singleton
38 class GDCM_EXPORT gdcmVR
44 void Print(std::ostream &os = std::cout);
45 int Count(gdcmVRKey key);
46 bool IsVROfGdcmBinaryRepresentable(gdcmVRKey);
47 bool IsVROfGdcmStringRepresentable(gdcmVRKey);
53 //-----------------------------------------------------------------------------