X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.cxx;h=1af0d6b5da07990c6b495ff6199187f8bd2ebf15;hb=48f7ce7aa61778477992107caf15e8960359e66b;hp=b01a84f65b4f793058fcbab7c841e3f0bbcbc670;hpb=6a7c2fbcb5bfc240a3b9875ad4836f5dc058e069;p=gdcm.git diff --git a/src/gdcmDict.cxx b/src/gdcmDict.cxx index b01a84f6..1af0d6b5 100644 --- a/src/gdcmDict.cxx +++ b/src/gdcmDict.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDict.cxx,v $ Language: C++ - Date: $Date: 2005/10/20 15:24:08 $ - Version: $Revision: 1.81 $ + Date: $Date: 2005/11/05 13:25:26 $ + Version: $Revision: 1.83 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -74,7 +74,7 @@ Dict::~Dict() // Public /** - * \brief Add a all the entries held in a source dictionary + * \brief Add all the entries held in a source dictionary * \note it concerns only Private Dictionnary * @param filename from which to build the dictionary. */ @@ -222,7 +222,7 @@ void Dict::ClearEntry() /** * \brief Get the dictionary entry identified by a given tag ("group|element") - * @param key tag of the entry to be found + * @param key tag of the searched entry * @return the corresponding dictionary entry when existing, NULL otherwise */ DictEntry *Dict::GetEntry(TagKey const &key) @@ -234,7 +234,12 @@ DictEntry *Dict::GetEntry(TagKey const &key) } return it->second; } - +/** + * \brief Get the dictionary entry identified by it's "group" and "element") + * @param group Group number of the searched entry. + * @param elem Element number of the searched entry. + * @return the corresponding dictionary entry when existing, NULL otherwise + */ DictEntry *Dict::GetEntry(uint16_t group, uint16_t elem) { TagKey key = DictEntry::TranslateToKey(group, elem); @@ -300,7 +305,7 @@ void Dict::DoTheLoadingJob(std::ifstream &from) from >> vm; from >> std::ws; //remove white space std::getline(from, name); - + newEntry = DictEntry::New(group, elem, vr, vm, name); AddEntry(newEntry); newEntry->Delete();