Program: gdcm
Module: $RCSfile: gdcmDataEntry.cxx,v $
Language: C++
- Date: $Date: 2007/08/27 16:14:47 $
- Version: $Revision: 1.46 $
+ 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
/**
* @param filetype type of the file (ACR, ImplicitVR, ExplicitVR, ...)
*/
void DataEntry::WriteContent(std::ofstream *fp, FileType filetype,
- bool insideMetaElements)
+ bool insideMetaElements, bool insideSequence)
{
// writes the 'common part'
- DocEntry::WriteContent(fp, filetype, insideMetaElements);
+ DocEntry::WriteContent(fp, filetype, insideMetaElements, insideSequence);
if ( GetGroup() == 0xfffe )
{
//-----------------------------------------------------------------------------
// 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();