X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.cxx;h=354fd1ed85600c6fc4dbccd30c5306680b5afd87;hb=fc4f7706c78baf3f60474c06d871b82db221f37b;hp=8dfdb628d5a74d341c37d61984b4bb96f32c25f7;hpb=8fd45dc6d321d1419854dc0e4fa6a37d6826b655;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.cxx b/src/gdcmDicomDirMeta.cxx index 8dfdb628..354fd1ed 100644 --- a/src/gdcmDicomDirMeta.cxx +++ b/src/gdcmDicomDirMeta.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirMeta.cxx,v $ Language: C++ - Date: $Date: 2007/05/23 14:18:08 $ - Version: $Revision: 1.37 $ + Date: $Date: 2007/10/08 15:20:17 $ + Version: $Revision: 1.40 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -53,10 +53,11 @@ DicomDirMeta::~DicomDirMeta() /** * \brief Writes the Meta Elements * @param fp ofstream to write to - * @param filetype type of the file (ImplicitVR, ExplicitVR, ...) + * @param filetype type of the file (ImplicitVR, ExplicitVR, JPEG, JPEG2000 ...) * @return */ -void DicomDirMeta::WriteContent(std::ofstream *fp, FileType filetype) +void DicomDirMeta::WriteContent(std::ofstream *fp, FileType filetype, + bool , bool ) { // 'File Meta Information Version' @@ -84,7 +85,8 @@ void DicomDirMeta::WriteContent(std::ofstream *fp, FileType filetype) i!= DocEntries.end(); ++i) { - (*i)->WriteContent(fp, filetype); + // true : we are in MetaElements + (*i)->WriteContent(fp, filetype, true, false); } }