X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirPatient.cxx;h=0e2e577a789f0b759288781381d76075ec628d57;hb=ef0e08814ac95a5412e8650112e23add221767d1;hp=4fc33c581a8668223da775124b7c3f36bf1ba108;hpb=5ac625c72835828d687ebdef878691d0913ae41b;p=gdcm.git diff --git a/src/gdcmDicomDirPatient.cxx b/src/gdcmDicomDirPatient.cxx index 4fc33c58..0e2e577a 100644 --- a/src/gdcmDicomDirPatient.cxx +++ b/src/gdcmDicomDirPatient.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirPatient.cxx,v $ Language: C++ - Date: $Date: 2005/11/29 12:48:46 $ - Version: $Revision: 1.40 $ + Date: $Date: 2007/07/26 08:36:49 $ + Version: $Revision: 1.42 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -23,7 +23,7 @@ #include "gdcmSQItem.h" #include "gdcmDebug.h" -namespace gdcm +namespace GDCM_NAME_SPACE { //----------------------------------------------------------------------------- // Constructor / Destructor @@ -57,15 +57,15 @@ DicomDirPatient::~DicomDirPatient() * @param fp ofstream to write to * @param t Type of the File (explicit VR, implicitVR, ...) */ -void DicomDirPatient::WriteContent(std::ofstream *fp, FileType t) +void DicomDirPatient::WriteContent(std::ofstream *fp, FileType t, bool insideMetaElements) { - DicomDirObject::WriteContent(fp, t); + DicomDirObject::WriteContent(fp, t, false); for(ListDicomDirStudy::iterator cc = Studies.begin(); cc!= Studies.end(); ++cc ) { - (*cc)->WriteContent( fp, t ); + (*cc)->WriteContent( fp, t, false ); } }