X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDictSet.h;h=28cc210dde6e4cdb62063c4cdc51d80d28d71589;hb=9f274230cc36f77f784729031fbe3e7d576f13ea;hp=1cd5b0d91433ccfb2508b4bf3e00486e0a05aa56;hpb=1778ad2b599c79e3012b4c055d0613509039213c;p=gdcm.git diff --git a/src/gdcmDictSet.h b/src/gdcmDictSet.h index 1cd5b0d9..28cc210d 100644 --- a/src/gdcmDictSet.h +++ b/src/gdcmDictSet.h @@ -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 VirtualEntry; + TagKeyHT VirtualEntry; }; //-----------------------------------------------------------------------------