X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDictEntry.h;h=780c7afd6b2f64977cc800df6124f4b53f176fbe;hb=f55c00ab86a058e6d1ef5e58841812e4128bcb4d;hp=4674479b880e972555090bf38c503d1ff0c046ac;hpb=73235b749dd3cb7e3552e81f9398b17b9209efa4;p=gdcm.git diff --git a/src/gdcmDictEntry.h b/src/gdcmDictEntry.h index 4674479b..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 13:11:49 $ - Version: $Revision: 1.33 $ + 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 @@ -48,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); @@ -78,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 @@ -91,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