1 /*=========================================================================
4 Module: $RCSfile: gdcmVR.h,v $
6 Date: $Date: 2005/01/11 15:15:38 $
7 Version: $Revision: 1.18 $
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 =========================================================================*/
22 #include "gdcmCommon.h"
30 //-----------------------------------------------------------------------------
31 typedef std::string VRKey;
32 typedef std::string VRAtr;
33 /// Value Representation Hash Table
34 typedef std::map<VRKey, VRAtr> VRHT;
36 //-----------------------------------------------------------------------------
38 * \brief Container for dicom Value Representation Hash Table
39 * \note This is a singleton
47 void Print(std::ostream &os = std::cout);
49 int Count(VRKey const &key);
50 bool IsVROfBinaryRepresentable(VRKey const &tested);
51 bool IsVROfStringRepresentable(VRKey const &tested);
52 bool IsVROfSequence(VRKey const &tested);
54 bool IsValidVR(VRKey const &key);
59 } // end namespace gdcm
61 //-----------------------------------------------------------------------------