Program: gdcm
Module: $RCSfile: gdcmDictEntry.cxx,v $
Language: C++
- Date: $Date: 2004/10/18 02:17:06 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2005/01/06 20:03:27 $
+ Version: $Revision: 1.30 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
DictEntry::DictEntry(uint16_t group, uint16_t element,
- TagName vr, TagName fourth,
- TagName name)
+ TagName const &vr, TagName const &fourth,
+ TagName const &name)
{
Group = group;
Element = element;
*/
TagKey DictEntry::TranslateToKey(uint16_t group, uint16_t element)
{
- TagKey key = Util::Format("%04x|%04x", group , element);
-
- return key;
+ return Util::Format("%04x|%04x", group, element);
}
//-----------------------------------------------------------------------------
* \ is unset then overwrite it.
* @param vr New V(alue) R(epresentation) to be set.
*/
-void DictEntry::SetVR(TagName const & vr)
+void DictEntry::SetVR(TagName const &vr)
{
if ( IsVRUnknown() )
{