X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.h;h=724c9b83465b4adb3531656df504ae3dd631be11;hb=44f77c590dae9d3ba7da64eb30e0236a019020a8;hp=b77f294355f4539ed220c1a7402273de02747d0b;hpb=5b89bede4607999aeb8d5b45311e7ee82f9471ef;p=gdcm.git diff --git a/src/gdcmDocEntry.h b/src/gdcmDocEntry.h index b77f2943..724c9b83 100644 --- a/src/gdcmDocEntry.h +++ b/src/gdcmDocEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.h,v $ Language: C++ - Date: $Date: 2005/02/02 16:18:48 $ - Version: $Revision: 1.45 $ + Date: $Date: 2005/07/11 14:40:40 $ + Version: $Revision: 1.47 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -41,6 +41,7 @@ class GDCM_EXPORT DocEntry : public Base { public: DocEntry(DictEntry*); + /// \brief Canonical Destructor virtual ~DocEntry() {}; virtual void Print (std::ostream &os = std::cout, std::string const &indent = ""); @@ -58,8 +59,9 @@ public: /// Set the 'key' of the current Dicom entry void SetKey( TagKey const &key ) { Key = key; } + /// Returns the 'key' of the current Dicom entry - std::string const &GetKey() const { return Key; } + TagKey const &GetKey() const { return Key; } /// \brief Returns the 'Name' '(e.g. "Patient's Name") found in the Dicom /// Dictionnary of the current Dicom Header Entry