X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.cxx;h=37180fd96f4bafb79ffcda85cf88ec82ae863fff;hb=abd6bfcc2b10b5f7447d1758938d7c15c31240af;hp=bec8f774c0d195047bfc92e21421ec1fbea567a1;hpb=079305bacab464b4e62e19ca829c67ce255f8f1d;p=gdcm.git diff --git a/src/gdcmDict.cxx b/src/gdcmDict.cxx index bec8f774..37180fd9 100644 --- a/src/gdcmDict.cxx +++ b/src/gdcmDict.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDict.cxx,v $ Language: C++ - Date: $Date: 2005/01/07 15:58:19 $ - Version: $Revision: 1.57 $ + Date: $Date: 2005/01/07 19:20:38 $ + Version: $Revision: 1.59 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -44,7 +44,7 @@ Dict::Dict(std::string const &filename) std::ifstream from( filename.c_str() ); if( !from ) { - dbg.Verbose(2,"Dict::Dict: can't open dictionary", filename.c_str()); + gdcmVerboseMacro("Dict::Dict: can't open dictionary" << filename.c_str()); // Using default embeded one: FillDefaultDataDict( this ); } @@ -128,7 +128,7 @@ bool Dict::AddNewEntry(DictEntry const &newEntry) if(KeyHt.count(key) == 1) { - dbg.Verbose(1, "Dict::AddNewEntry already present", key.c_str()); + gdcmVerboseMacro("Dict::AddNewEntry already present" << key.c_str()); return false; } else @@ -172,7 +172,7 @@ bool Dict::RemoveEntry (TagKey const &key) } else { - dbg.Verbose(1, "Dict::RemoveEntry unfound entry", key.c_str()); + gdcmVerboseMacro("Dict::RemoveEntry unfound entry" << key.c_str()); return false; } }