Program: gdcm
Module: $RCSfile: gdcmDocEntry.cxx,v $
Language: C++
- Date: $Date: 2005/02/06 14:43:27 $
- Version: $Revision: 1.53 $
+ Date: $Date: 2005/06/07 13:44:47 $
+ Version: $Revision: 1.57 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
namespace gdcm
{
//-----------------------------------------------------------------------------
-#define MAX_SIZE_PRINT_ELEMENT_VALUE 64
-//-----------------------------------------------------------------------------
// Constructor / Destructor
/**
* \brief Constructor from a given DictEntry
}
uint16_t z = 0;
- uint16_t shortLgr = lgth;
+ uint16_t shortLgr = (uint16_t)lgth;
if (vr == GDCM_UNKNOWN)
{
lgth = GetReadLength(); // ReadLength, as opposed to Length
if (lgth == 0xffffffff)
{
- st = Util::Format("x(ffff)"); // I said : "x(ffff)" !
s.setf(std::ios::left);
- s << std::setw(10-st.size()) << " ";
- s << st << " ";
+ s << std::setw(10-st.size());
+ s << " ffff ";
s.setf(std::ios::left);
s << std::setw(8) << "-1";
}