Program: gdcm
Module: $RCSfile: gdcmDocEntry.cxx,v $
Language: C++
- Date: $Date: 2007/08/29 15:30:49 $
- Version: $Revision: 1.93 $
+ Date: $Date: 2007/09/25 16:06:46 $
+ Version: $Revision: 1.95 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//{
binary_write(*fp, vr.str());
// See PS 3.5-2004 page 33, 36
- if ( (vr == "SQ") || (vr == "OB") || (vr == "OW") || (vr == "OF")
+ if ( (vr == "SQ") || (vr == "OB") || (vr == "OW") || (vr == "OL") || (vr == "OF")
|| (vr == "UN") || (vr == "UT") )
{
binary_write(*fp, zero);
}
else
{
- if ( GetVR()=="OB" || GetVR()=="OW" || GetVR()=="SQ" )
+ if ( GetVR()=="OB" || GetVR()=="OW" || GetVR()=="OL" || GetVR()=="SQ" )
{
l = l + 12; // 2 (gr) + 2 (el) + 2 (vr) + 2 (unused) + 4 (lgth)
}
//-----------------------------------------------------------------------------
// Print
/**
- * \brief Prints the common part of DataEntry, SeqEntry
+ * \brief Prints the common part (vr [length offset] name) of DataEntry, SeqEntry
* @param os ostream we want to print in
* @param indent Indentation string to be prepended during printing
*/
s << st << " ";
s << std::setw(8) << o;
}
- if (PrintLevel >= 1)
+ //if (PrintLevel >= 1)
s << " ";
s << "[" << vr << "] ";