X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomEntry.cxx;h=ef260fba115243b440548f26943042a2e30021af;hb=01b8a6a38ef3eb36670dada5f3abc48b09692db4;hp=785b941c9cb9767d6be8dd9e1cec6966d678e2f5;hpb=9aa702d6397e3e490263a0791dd6c8ed2f3d1e83;p=gdcm.git diff --git a/src/gdcmDicomEntry.cxx b/src/gdcmDicomEntry.cxx index 785b941c..ef260fba 100644 --- a/src/gdcmDicomEntry.cxx +++ b/src/gdcmDicomEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomEntry.cxx,v $ Language: C++ - Date: $Date: 2005/10/19 13:17:05 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/10/21 07:38:57 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -33,14 +33,12 @@ namespace gdcm * @param group DICOM-Group Number * @param elem DICOM-Element Number * @param vr Value Representation - * @param vm Value Multiplicity - * @param name description of the element */ -DicomEntry::DicomEntry(const uint16_t &group,const uint16_t &elt, +DicomEntry::DicomEntry(const uint16_t &group,const uint16_t &elem, const VRKey &vr) { Tag.SetGroup(group); - Tag.SetElement(elt); + Tag.SetElement(elem); VR = vr; } @@ -83,10 +81,8 @@ TagKey DicomEntry::TranslateToKey(uint16_t group, uint16_t elem) */ void DicomEntry::Print(std::ostream &os, std::string const & ) { - std::ostringstream s; - - s << GetKey(); - s << " [" << VR << "] "; + os << GetKey(); + os << " [" << VR << "] "; } //-----------------------------------------------------------------------------