]> Creatis software - gdcm.git/blob - src/gdcmTS.h
To display the actual value of Transfer Syntax (instead of its code)
[gdcm.git] / src / gdcmTS.h
1 // gdcmTS.h
2
3 #ifndef GDCMTS_H
4 #define GDCMTS_H
5
6 #include <map>
7 #include <string>
8 #include "gdcmCommon.h"
9
10 typedef std::string TSKey;
11 typedef std::string TSAtr;
12 typedef std::map<TSKey, TSAtr> TSHT;    // Transfert Syntax Hash Table
13
14 /// Container for dicom Transfert Syntax Hash Table
15 /// \note   This is a singleton
16 class GDCM_EXPORT gdcmTS {
17 private:
18    TSHT ts;     
19
20 public:
21    gdcmTS(void);
22    ~gdcmTS();
23    int Count(TSKey key);
24    string GetValue(TSKey key);
25 };
26
27 #endif