]> Creatis software - gdcm.git/blob - src/gdcmTS.h
* src/*.[h|cxx] : coding style
[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 //-----------------------------------------------------------------------------
11 typedef std::string TSKey;
12 typedef std::string TSAtr;
13 typedef std::map<TSKey, TSAtr> TSHT;    // Transfert Syntax Hash Table
14
15 //-----------------------------------------------------------------------------
16 /*
17  * Container for dicom Transfert Syntax Hash Table
18  * \note   This is a singleton
19  */
20 class GDCM_EXPORT gdcmTS {
21 public:
22    gdcmTS(void);
23    ~gdcmTS();
24    int Count(TSKey key);
25    std::string GetValue(TSKey key);
26
27 private:
28    TSHT ts;     
29 };
30
31 //-----------------------------------------------------------------------------
32 #endif