Program: gdcm
Module: $RCSfile: gdcmDataEntry.cxx,v $
Language: C++
- Date: $Date: 2007/08/29 15:30:48 $
- Version: $Revision: 1.47 $
+ Date: $Date: 2007/09/14 08:22:19 $
+ Version: $Revision: 1.48 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
}
-//-----------------------------------------------------------------------------
-// Print
-
//-----------------------------------------------------------------------------
// Public
/**
//-----------------------------------------------------------------------------
// Protected
+
/// \brief Creates a DataEntry owned BinArea
/// (remove previous one if any and relevant StrArea if any)
void DataEntry::NewBinArea( )
*/
void DataEntry::Print(std::ostream &os, std::string const & )
{
- os << "D ";
+ //os << "D ";
+
+ // First, Print the common part (vr [length offset] name).
DocEntry::Print(os);
uint16_t g = GetGroup();
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/14 08:22:19 $
+ Version: $Revision: 1.94 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// 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 << "] ";
Program: gdcm
Module: $RCSfile: gdcmSeqEntry.cxx,v $
Language: C++
- Date: $Date: 2007/08/29 15:30:50 $
- Version: $Revision: 1.70 $
+ Date: $Date: 2007/09/14 08:22:19 $
+ Version: $Revision: 1.71 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
void SeqEntry::Print( std::ostream &os, std::string const & )
{
- // First, Print the Dicom Element itself.
- os << "S ";
+ // os << "S ";
+
+ // First, Print the common part (vr [length offset] name).
DocEntry::Print(os);
os << std::endl;