X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDictEntry.h;h=780c7afd6b2f64977cc800df6124f4b53f176fbe;hb=285b9406fb75fca736d1dd5fee7706a51e64db92;hp=e585e0603fecb418080fe2386cb08295aeecb803;hpb=b5f4e6e89bfe100a9b67fecf5a5e3cf31306442d;p=gdcm.git diff --git a/src/gdcmDictEntry.h b/src/gdcmDictEntry.h index e585e060..780c7afd 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/02/01 10:41:33 $ - Version: $Revision: 1.32 $ + Date: $Date: 2005/07/11 14:40:40 $ + Version: $Revision: 1.35 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -26,7 +26,6 @@ namespace gdcm //----------------------------------------------------------------------------- /** - * \ingroup DictEntry * \brief * the DictEntry in an element contained by the Dict. * It contains : @@ -49,9 +48,6 @@ public: // Print void Print(std::ostream &os = std::cout, std::string const &indent = ""); -// Key creation - static TagKey TranslateToKey(uint16_t group, uint16_t elem); - // Content of DictEntry void SetVR(TagName const &vr); void SetVM(TagName const &vm); @@ -79,7 +75,7 @@ public: /// \brief sets the key of the current DictEntry /// @param k New key to be set. - void SetKey(TagName const &k) { Key = k; } + void SetKey(TagKey const &k) { Key = k; } /// \brief returns the VM field of the current DictEntry /// @return The 'Value Multiplicity' field @@ -92,7 +88,10 @@ public: /// \brief Gets the key of the current DictEntry /// @return the key. - const TagName &GetKey() const { return Key; } + const TagKey &GetKey() const { return Key; } + +// Key creation + static TagKey TranslateToKey(uint16_t group, uint16_t elem); private: /// \todo FIXME