X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDocEntry.cxx;h=9021e931fa3b6083f38a1764cc9643ae46866c86;hb=cfd7023dd0efe6d0cf17cdc1b31bbf17ac8a9ade;hp=c1317163a9503b1c98a1b42d15aa0077d9b8c3df;hpb=9ca4fd0ccbfea12ed7760856de3a8faf41625869;p=gdcm.git diff --git a/src/gdcmDocEntry.cxx b/src/gdcmDocEntry.cxx index c1317163..9021e931 100644 --- a/src/gdcmDocEntry.cxx +++ b/src/gdcmDocEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocEntry.cxx,v $ Language: C++ - Date: $Date: 2005/01/07 16:45:51 $ - Version: $Revision: 1.39 $ + Date: $Date: 2005/01/16 04:50:41 $ + Version: $Revision: 1.41 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -21,6 +21,7 @@ #include "gdcmVR.h" #include "gdcmGlobal.h" #include "gdcmUtil.h" +#include "gdcmDebug.h" #include // for std::ios::left, ... #include @@ -57,7 +58,7 @@ DocEntry::DocEntry(DictEntry *in) * \brief Prints the common part of ValEntry, BinEntry, SeqEntry * @param os ostream we want to print in */ -void DocEntry::Print(std::ostream &os) +void DocEntry::Print(std::ostream &os, std::string const & ) { size_t o; std::string st; @@ -175,7 +176,7 @@ void DocEntry::WriteContent(std::ofstream *fp, FileType filetype) else { binary_write(*fp, vr); - assert( vr.size() == 2 ); + gdcmAssertMacro( vr.size() == 2 ); if ( (vr == "OB") || (vr == "OW") || (vr == "SQ") || (vr == "UN") ) {