Program: gdcm
Module: $RCSfile: gdcmValEntry.cxx,v $
Language: C++
- Date: $Date: 2005/02/02 16:18:49 $
- Version: $Revision: 1.56 $
+ Date: $Date: 2005/02/14 10:45:47 $
+ Version: $Revision: 1.58 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
}
const VRKey &vr = GetVR();
- unsigned int lgr = GetLength();
+ unsigned int lgth = GetLength();
if (vr == "US" || vr == "SS")
{
// some 'Short integer' fields may be multivaluated
return;
}
- gdcmAssertMacro( lgr == GetValue().length() );
+ gdcmAssertMacro( lgth == GetValue().length() );
binary_write(*fp, GetValue());
}
TS *ts = Global::GetTS();
- TSAtr v = GetValue(); // not applicable for SQ ...
+ TSAtr v = GetValue();
d2 = Util::CreateCleanString(v); // replace non printable characters by '.'
if( GetLength() <= MAX_SIZE_PRINT_ELEMENT_VALUE
|| PrintLevel >= 3