Main Page | File List | Related Pages

gdcmTS.h

00001 // gdcmTS.h
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;    // Transfert Syntax Hash Table
00015 
00016 //-----------------------------------------------------------------------------
00017 /*
00018  * Container for dicom Transfert Syntax Hash Table
00019  * \note   This is a singleton
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

Generated on Mon Feb 14 16:13:44 2005 for gdcm by doxygen 1.3.6