X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomEntry.h;h=8a3efee6b47b05082a1217cbf0c97d55760775cc;hb=c4e7cd167fff93d40374a4cd88dbeab78797127f;hp=6f843b5868793acf3cdbab3014b468bab76a3d7e;hpb=030b22f65c2933ac680497672f8a236dcf2a460b;p=gdcm.git diff --git a/src/gdcmDicomEntry.h b/src/gdcmDicomEntry.h index 6f843b58..8a3efee6 100644 --- a/src/gdcmDicomEntry.h +++ b/src/gdcmDicomEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomEntry.h,v $ Language: C++ - Date: $Date: 2005/11/28 15:30:04 $ - Version: $Revision: 1.9 $ + Date: $Date: 2006/04/13 08:06:56 $ + Version: $Revision: 1.11 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -55,6 +55,10 @@ public: /// @return the Dicom Element Number const uint16_t &GetElement() const { return Tag[1]; } + /// \brief Returns the Dicom Tag Key + /// @return the Dicom Tag Key + const TagKey &GetKey() const { return Tag; } + /// \brief Set the Dicom Value Representation /// \param vr the Dicom Value Representation virtual void SetVR(VRKey const &vr) { VR = vr; } @@ -68,7 +72,8 @@ public: const TagKey &GetKey() const { return Tag; } // Key creation - static TagKey TranslateToKey(uint16_t group, uint16_t elem); + static TagKey TranslateToKey(uint16_t group, uint16_t elem) + { return TagKey(group,elem); } protected: DicomEntry(const uint16_t &group,const uint16_t &elt,