Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.cxx,v $
Language: C++
- Date: $Date: 2007/05/23 14:01:44 $
- Version: $Revision: 1.42 $
+ Date: $Date: 2007/08/29 15:30:49 $
+ Version: $Revision: 1.45 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include "gdcmGlobal.h"
#include "gdcmDebug.h"
-namespace gdcm
+namespace GDCM_NAME_SPACE
{
//-----------------------------------------------------------------------------
// Constructor / Destructor
* @param fp ofstream to write to
* @param t Type of the File (explicit VR, implicitVR, ...)
*/
-void DicomDirSerie::WriteContent(std::ofstream *fp, FileType t)
+void DicomDirSerie::WriteContent(std::ofstream *fp, FileType t, bool dummy, bool dummy2)
{
- DicomDirObject::WriteContent(fp, t);
+ DicomDirObject::WriteContent(fp, t, false, true);
for(ListDicomDirImage::iterator cc = Images.begin();
cc!= Images.end();
++cc )
{
- (*cc)->WriteContent( fp, t );
+ (*cc)->WriteContent( fp, t, false, true );
}
for(ListDicomDirPrivate::iterator cc2 = Privates.begin();
cc2!= Privates.end();
++cc2 )
{
- (*cc2)->WriteContent( fp, t );
+ (*cc2)->WriteContent( fp, t, false, true);
}
}
Privates.clear();
}
-
/**
* \brief Remove all 'Images' in the serie
*/
}
Images.clear();
}
+
/**
* \brief Get the first entry while visiting the DicomDirImage
* \return The first DicomDirImage if DicomDirserie not empty, otherwhise NULL