Main Page | File List | Related Pages

gdcmVR.h

00001 // gdcmVR.h
00002 //-----------------------------------------------------------------------------
00003 #ifndef GDCMVR_H
00004 #define GDCMVR_H
00005 
00006 #include "gdcmCommon.h"
00007 #include <map>
00008 #include <string>
00009 #include <iostream>
00010 
00011 //-----------------------------------------------------------------------------
00012 typedef std::string VRKey;
00013 typedef std::string VRAtr;
00014 typedef std::map<VRKey, VRAtr> VRHT;    // Value Representation Hash Table
00015 
00016 //-----------------------------------------------------------------------------
00017 /*
00018  * Container for dicom Value Representation Hash Table
00019  * \note   This is a singleton
00020  */
00021 class GDCM_EXPORT gdcmVR 
00022 {
00023 public:
00024         gdcmVR(void);
00025    ~gdcmVR();
00026 
00027    void Print(std::ostream &os = std::cout);
00028 
00029    int Count(VRKey key);
00030 
00031 private:
00032    VRHT vr;
00033 };
00034 
00035 //-----------------------------------------------------------------------------
00036 #endif

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