00001 
00002 
00003 #ifndef GDCMTS_H
00004 #define GDCMTS_H
00005 
00006 #include "gdcmCommon.h"
00007 #include <map>
00008 #include <string>
00009 #include <iostream>
00010 
00011 
00012 typedef std::string TSKey;
00013 typedef std::string TSAtr;
00014 typedef std::map<TSKey, TSAtr> TSHT;    
00015 
00016 
00017 
00018 
00019 
00020 
00021 class GDCM_EXPORT gdcmTS {
00022 public:
00023    gdcmTS(void);
00024    ~gdcmTS();
00025 
00026    void Print(std::ostream &os = std::cout);
00027 
00028    int Count(TSKey key);
00029    std::string GetValue(TSKey key);
00030 
00031 private:
00032    TSHT ts;     
00033 };
00034 
00035 
00036 #endif