X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmDictEntry.h;h=1658bb493753a40015cd8f7f5f6a36b1cd0f1ebc;hb=5887c4beef24959af83e43efad0bb86acac9339e;hp=1d8c8a8da13f20c7809e94690adb73da46be4887;hpb=1fecdc6dcc36f951de19246bd14ef282b3dec13a;p=gdcm.git diff --git a/src/gdcmDictEntry.h b/src/gdcmDictEntry.h index 1d8c8a8d..1658bb49 100644 --- a/src/gdcmDictEntry.h +++ b/src/gdcmDictEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDictEntry.h,v $ Language: C++ - Date: $Date: 2005/01/07 12:29:17 $ - Version: $Revision: 1.25 $ + Date: $Date: 2005/01/11 15:15:38 $ + Version: $Revision: 1.28 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -25,15 +25,17 @@ namespace gdcm { //----------------------------------------------------------------------------- -/* - * \defgroup DictEntry +/** + * \ingroup DictEntry * \brief * the DictEntry in an element contained by the Dict. * It contains : * - the key referenced by the DICOM norm or the constructor (for private keys) - * - the corresponding name in english (it's equivalent to a label) - * - the owner group - * - etc. + * i.e. the Group number + * the Element number + * - the VR (Value Representation) + * - the VM (Value Multplicity) + * - the corresponding name in english */ class GDCM_EXPORT DictEntry : public Base { @@ -47,11 +49,16 @@ public: static TagKey TranslateToKey(uint16_t group, uint16_t element); void SetVR(TagName const &vr); + void SetVM(TagName const &vm); /// \brief tells if the V(alue) R(epresentation) is known (?!) /// @return bool IsVRUnknown() { return VR == GDCM_UNKNOWN; } + /// \brief tells if the V(alue) M(ultiplicity) is known (?!) + /// @return + bool IsVMUnknown() { return VM == GDCM_UNKNOWN; } + /// \brief Returns the Dicom Group Number of the current DictEntry /// @return the Dicom Group Number uint16_t GetGroup() { return Group; }