]> Creatis software - gdcm.git/blobdiff - src/gdcmDictSet.h
ENH: I am a moron. Fix compilation of gdcm in static mode, I had to add some new...
[gdcm.git] / src / gdcmDictSet.h
index 1cd5b0d91433ccfb2508b4bf3e00486e0a05aa56..28cc210dde6e4cdb62063c4cdc51d80d28d71589 100644 (file)
@@ -3,12 +3,12 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictSet.h,v $
   Language:  C++
-  Date:      $Date: 2004/08/03 17:28:59 $
-  Version:   $Revision: 1.24 $
+  Date:      $Date: 2004/09/27 08:39:06 $
+  Version:   $Revision: 1.26 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
-  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details.
+  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
                                                                                 
      This software is distributed WITHOUT ANY WARRANTY; without even
      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
@@ -51,7 +51,13 @@ public:
                                DictKey const & name );
 
    gdcmDict* GetDict( DictKey const & DictName );
-   gdcmDict* GetDefaultPubDict();
+
+   /// \brief   Retrieve the default reference DICOM V3 public dictionary.
+   gdcmDict* GetDefaultPubDict() { return GetDict(PUB_DICT_NAME); };
+
+   // \brief   Retrieve the virtual reference DICOM dictionary.
+   // \warning : not end user intended
+   // gdcmDict* GetVirtualDict() { return &VirtualEntry; };
 
    gdcmDictEntry* NewVirtualDictEntry(uint16_t group, uint16_t element,
                                       std::string vr     = "Unknown",
@@ -69,7 +75,7 @@ private:
    /// Directory path to dictionaries
    std::string DictPath;
    /// H table for the on the fly created gdcmDictEntries  
-   std::map<std::string,gdcmDictEntry *> VirtualEntry;
+   TagKeyHT VirtualEntry; 
 };
 
 //-----------------------------------------------------------------------------