X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDict.cxx;h=fc7c07f2d69dae556afb8222e035b278293a662c;hb=42b5b1fda1b91860c4708a5706600a913da219f3;hp=5da7a207910360e3032658e94ee22d3254b1e69f;hpb=ff8631dd8488e6604df635faf472ee85f5b8a4b6;p=gdcm.git diff --git a/src/gdcmDict.cxx b/src/gdcmDict.cxx index 5da7a207..fc7c07f2 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/02/02 15:07:41 $ - Version: $Revision: 1.72 $ + Date: $Date: 2005/02/11 15:22:18 $ + Version: $Revision: 1.74 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -27,6 +27,8 @@ namespace gdcm { //----------------------------------------------------------------------------- +/// \brief auto generate function, to fill up the Dicom Dictionnary, +/// if relevant file is not found on user's disk void FillDefaultDataDict(Dict *d); //----------------------------------------------------------------------------- @@ -54,7 +56,7 @@ Dict::Dict(std::string const &filename) std::ifstream from( filename.c_str() ); if( !from ) { - gdcmVerboseMacro( "Can't open dictionary" << filename.c_str()); + gdcmWarningMacro( "Can't open dictionary" << filename.c_str()); // Using default embeded one: FillDefaultDataDict( this ); } @@ -100,7 +102,7 @@ bool Dict::AddEntry(DictEntry const &newEntry) if(KeyHt.count(key) == 1) { - gdcmVerboseMacro( "Already present" << key.c_str()); + gdcmWarningMacro( "Already present" << key.c_str()); return false; } else @@ -142,7 +144,7 @@ bool Dict::RemoveEntry(TagKey const &key) } else { - gdcmVerboseMacro( "Unfound entry" << key.c_str()); + gdcmWarningMacro( "Unfound entry" << key.c_str()); return false; } }