]> Creatis software - gdcm.git/blobdiff - src/gdcmDictSet.h
ENH: Refactorize code, from PrintFile into the class, to allow user to reuse the...
[gdcm.git] / src / gdcmDictSet.h
index 9b5f3ab79c34cd7de55c186648b632394993d540..3cc5eca7ed2c192b22f792b25304fa47b89210d3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictSet.h,v $
   Language:  C++
-  Date:      $Date: 2005/06/14 14:00:04 $
-  Version:   $Revision: 1.43 $
+  Date:      $Date: 2005/09/02 07:10:03 $
+  Version:   $Revision: 1.45 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -28,6 +28,8 @@
 namespace gdcm 
 {
 typedef std::map<DictKey, Dict*> DictSetHT;
+typedef std::string ExtendedTagKey;
+typedef std::map<ExtendedTagKey, DictEntry>  ExtendedTagKeyHT;
 
 //-----------------------------------------------------------------------------
 /**
@@ -55,11 +57,11 @@ public:
    Dict *GetDict( DictKey const &DictName );
 
    /// \brief   Returns the default reference DICOM V3 public dictionary.
-   Dict* GetDefaultPubDict() { return GetDict(PUB_DICT_NAME); };
+   Dict* GetDefaultPubDict() { return GetDict(PUB_DICT_NAME); }
 
    // \ brief   Returns the virtual references DICOM dictionary.
    // \ warning : not end user intended
-   // Dict *GetVirtualDict() { return &VirtualEntries; };
+   // Dict *GetVirtualDict() { return &VirtualEntries; }
 
    DictEntry *NewVirtualDictEntry(uint16_t group, uint16_t elem,
                                   TagName vr     = GDCM_UNKNOWN,
@@ -83,7 +85,7 @@ private:
    std::string DictPath;
 
    /// H table for the on the fly created DictEntries  
-   TagKeyHT VirtualEntries; 
+   ExtendedTagKeyHT VirtualEntries; 
 };
 } // end namespace gdcm