X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomEntry.h;h=090801d10d0b6a1158c82f6c9ee101387918b4bd;hb=bd7bec4c367d671a9da358584e98a8ec29bb641e;hp=513c2d9cbad20eb8ada49c5a906768b6da4db0b2;hpb=17ebda2271dd65565f512e835546b22c22ebbbb0;p=gdcm.git diff --git a/src/gdcmDicomEntry.h b/src/gdcmDicomEntry.h index 513c2d9c..090801d1 100644 --- a/src/gdcmDicomEntry.h +++ b/src/gdcmDicomEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomEntry.h,v $ Language: C++ - Date: $Date: 2006/04/11 16:03:26 $ - Version: $Revision: 1.10 $ + Date: $Date: 2007/09/17 12:21:56 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,15 +16,15 @@ =========================================================================*/ -#ifndef GDCMDICOMENTRY_H -#define GDCMDICOMENTRY_H +#ifndef _GDCMDICOMENTRY_H_ +#define _GDCMDICOMENTRY_H_ #include "gdcmCommon.h" #include "gdcmRefCounter.h" #include "gdcmVRKey.h" #include "gdcmTagKey.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- /** @@ -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; } @@ -77,12 +81,12 @@ protected: ~DicomEntry(); private: - /// Dicom \ref TagKey. Contains Dicom Group number and Dicom Element number + /// Dicom TagKey. Contains Dicom Group number and Dicom Element number TagKey Tag; /// \brief Value Representation i.e. some clue about the nature /// of the data represented e.g. - /// - "FD" short for "Floating Point Double"(see \ref VR) + /// - "FD" short for "Floating Point Double"(see VR) /// - "PN" short for "Person Name" VRKey VR; };