X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmSeqEntry.cxx;h=25a2c2679d5d36d39e1a81717ca90ed3c05ce141;hb=74e3bc05fade5a18f193e7d1122c74756c0e689e;hp=f7669d3660d15a1b71542719fa90724704c1ac7e;hpb=21fa56d0388883f63f4cccf55cb42967d7ea5c30;p=gdcm.git diff --git a/src/gdcmSeqEntry.cxx b/src/gdcmSeqEntry.cxx index f7669d36..25a2c267 100644 --- a/src/gdcmSeqEntry.cxx +++ b/src/gdcmSeqEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSeqEntry.cxx,v $ Language: C++ - Date: $Date: 2004/12/02 15:14:18 $ - Version: $Revision: 1.39 $ + Date: $Date: 2004/12/16 13:46:37 $ + 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 @@ -84,8 +84,6 @@ SeqEntry::~SeqEntry() void SeqEntry::Print( std::ostream &os ) { // First, Print the Dicom Element itself. - SetPrintLevel(2); - os << "S "; DocEntry::Print(os); os << std::endl; @@ -96,6 +94,7 @@ void SeqEntry::Print( std::ostream &os ) // Then, Print each SQ Item for(ListSQItem::iterator cc = Items.begin(); cc != Items.end(); ++cc) { + (*cc)->SetPrintLevel(PrintLevel); (*cc)->Print(os); } @@ -108,6 +107,7 @@ void SeqEntry::Print( std::ostream &os ) } if (SeqTerm != NULL) { + SeqTerm->SetPrintLevel(PrintLevel); SeqTerm->Print(os); os << std::endl; }