]> Creatis software - gdcm.git/commitdiff
ENH: hum I guess this one slept through my cleaning
authormalaterre <malaterre>
Mon, 18 Oct 2004 02:35:35 +0000 (02:35 +0000)
committermalaterre <malaterre>
Mon, 18 Oct 2004 02:35:35 +0000 (02:35 +0000)
src/gdcmDictEntry.cxx
src/gdcmDictEntry.h

index 8411e2edf27c6fc58650f0d2276edc04f1d71e02..77590de3758fb5c0fdc399f947a7d2c6a73e9b36 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictEntry.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/10/18 02:17:06 $
-  Version:   $Revision: 1.27 $
+  Date:      $Date: 2004/10/18 02:35:35 $
+  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
@@ -36,8 +36,8 @@ namespace gdcm
 */
 
 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;
index 1e11a6ad910a13e95eaaea56d4d8c5cf7583345c..9a255cd28aaeb0c06aa515b9e91d6b72a011a676 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDictEntry.h,v $
   Language:  C++
-  Date:      $Date: 2004/10/18 02:17:06 $
-  Version:   $Revision: 1.19 $
+  Date:      $Date: 2004/10/18 02:35:35 $
+  Version:   $Revision: 1.20 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -40,9 +40,9 @@ class GDCM_EXPORT DictEntry
 public:
    DictEntry(uint16_t group, 
              uint16_t element,
-             TagName vr     = "Unknown",
-             TagName fourth = "Unknown",
-             TagName name   = "Unknown");
+             TagName const & vr     = "Unknown",
+             TagName const & fourth = "Unknown",
+             TagName const & name   = "Unknown");
 
    static TagKey TranslateToKey(uint16_t group, uint16_t element);