Program: gdcm
Module: $RCSfile: gdcmDataEntry.cxx,v $
Language: C++
- Date: $Date: 2005/10/18 08:35:51 $
- Version: $Revision: 1.1 $
+ Date: $Date: 2005/10/20 07:23:50 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
{
if( count == 0 )
{
- tmp[i] = NULL;
+ tmp[i] = 0;
break;
}
else
{
uint16_t *data=(uint16_t *)BinArea;
- for (int i=0; i < GetValueCount(); i++)
+ for (unsigned int i=0; i < GetValueCount(); i++)
{
if( i!=0 )
s << '\\';
{
uint32_t *data=(uint32_t *)BinArea;
- for (int i=0; i < GetValueCount(); i++)
+ for (unsigned int i=0; i < GetValueCount(); i++)
{
if( i!=0 )
s << '\\';
{
float *data=(float *)BinArea;
- for (int i=0; i < GetValueCount(); i++)
+ for (unsigned int i=0; i < GetValueCount(); i++)
{
if( i!=0 )
s << '\\';
{
double *data=(double *)BinArea;
- for (int i=0; i < GetValueCount(); i++)
+ for (unsigned int i=0; i < GetValueCount(); i++)
{
if( i!=0 )
s << '\\';
os << "D ";
DocEntry::Print(os);
+ uint16_t g = GetGroup();
+ if (g == 0xfffe) // delimiters have NO value
+ {
+ return; // just to avoid identing all the remaining code
+ }
+
std::ostringstream s;
TSAtr v;