1 /*=========================================================================
4 Module: $RCSfile: gdcmTS.h,v $
6 Date: $Date: 2005/04/22 13:37:57 $
7 Version: $Revision: 1.20 $
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 TSKey;
32 typedef std::string TSAtr;
33 typedef std::map<TSKey, TSAtr> TSHT; // Transfer Syntax Hash Table
36 //-----------------------------------------------------------------------------
38 * \brief Container for dicom 'Transfer Syntax' Hash Table
39 * \note This is a singleton
45 ImplicitVRLittleEndian = 0,
46 ImplicitVRLittleEndianDLXGE,
47 ExplicitVRLittleEndian,
48 DeflatedExplicitVRLittleEndian,
51 JPEGExtendedProcess2_4,
52 JPEGExtendedProcess3_5,
53 JPEGSpectralSelectionProcess6_8,
54 JPEGFullProgressionProcess10_12,
55 JPEGLosslessProcess14,
56 JPEGLosslessProcess14_1,
70 void Print(std::ostream &os = std::cout);
72 int Count(TSKey const &key);
73 TSAtr const &GetValue(TSKey const &key);
74 bool IsTransferSyntax(TSKey const &key);
75 bool IsRLELossless(TSKey const &key);
76 bool IsJPEGLossless(TSKey const&key);
77 bool IsJPEGLossy(TSKey const&key);
78 bool IsJPEG2000(TSKey const &key);
79 bool IsJPEG(TSKey const &key);
80 bool IsJPEGLS(TSKey const &key);
81 bool IsMPEG(TSKey const &key);
83 // This should be deprecated very soon
84 SpecialType GetSpecialTransferSyntax(TSKey const &key);
85 const char* GetSpecialTransferSyntax(SpecialType t);
90 } // end namespace gdcm
92 //-----------------------------------------------------------------------------