X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.cxx;h=05ef4358200a760dea52a7614129167390432077;hb=9d913797d3bf5a18625f4d8d8b42c8f5c8c10d99;hp=3942ee83b06c4041ca1d9506fd761057545cb1f4;hpb=7f5f66f57c85e30920d807612d32a65800cb1df0;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.cxx b/src/gdcmDicomDirMeta.cxx index 3942ee83..05ef4358 100644 --- a/src/gdcmDicomDirMeta.cxx +++ b/src/gdcmDicomDirMeta.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirMeta.cxx,v $ Language: C++ - Date: $Date: 2004/12/06 11:37:38 $ - Version: $Revision: 1.18 $ + Date: $Date: 2005/01/06 20:03:27 $ + Version: $Revision: 1.20 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -48,7 +48,7 @@ DicomDirMeta::~DicomDirMeta() /** * \brief Prints the Meta Elements */ -void DicomDirMeta::Print(std::ostream& os) +void DicomDirMeta::Print(std::ostream &os) { os << "META" << std::endl; // warning : META doesn't behave exactly like a Objet @@ -56,6 +56,7 @@ void DicomDirMeta::Print(std::ostream& os) i != DocEntries.end(); ++i) { + (*i)->SetPrintLevel(PrintLevel); (*i)->Print(); os << std::endl; } @@ -70,7 +71,7 @@ void DicomDirMeta::Print(std::ostream& os) * \brief Writes the Meta Elements * @return */ -void DicomDirMeta::WriteContent(std::ofstream* fp, FileType t) +void DicomDirMeta::WriteContent(std::ofstream *fp, FileType t) { for (ListDocEntry::iterator i = DocEntries.begin(); i != DocEntries.end();