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