X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDictSet.cxx;h=646d3374ab2e0dd3c7c9c3373ff0fbbe13c6d467;hb=d231595f2ad64eb1921bef15a7423c6ea6433398;hp=b7c522efd8a795497c370b7b638c46540ddf016b;hpb=43a9d401c9db4db824a5817e1ef1f3791aba8630;p=gdcm.git diff --git a/src/gdcmDictSet.cxx b/src/gdcmDictSet.cxx index b7c522ef..646d3374 100644 --- a/src/gdcmDictSet.cxx +++ b/src/gdcmDictSet.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDictSet.cxx,v $ Language: C++ - Date: $Date: 2005/06/14 14:00:04 $ - Version: $Revision: 1.63 $ + Date: $Date: 2005/06/24 10:55:58 $ + Version: $Revision: 1.65 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -20,6 +20,7 @@ #include "gdcmDebug.h" #include #include // For getenv +#include // For sprintf namespace gdcm { @@ -87,7 +88,7 @@ Dict *DictSet::LoadDictFromFile(std::string const &filename, Dict *DictSet::GetDict(DictKey const &dictName) { DictSetHT::iterator dict = Dicts.find(dictName); - if(dict != Dicts.end()) + if ( dict != Dicts.end() ) { return dict->second; } @@ -123,7 +124,7 @@ DictEntry *DictSet::NewVirtualDictEntry( uint16_t group, TagKeyHT::iterator it; it = VirtualEntries.find(tag); - if(it != VirtualEntries.end()) + if ( it != VirtualEntries.end() ) { entry = &(it->second); } @@ -145,7 +146,7 @@ DictEntry *DictSet::NewVirtualDictEntry( uint16_t group, Dict *DictSet::GetFirstEntry() { ItDictHt = Dicts.begin(); - if( ItDictHt != Dicts.end() ) + if ( ItDictHt != Dicts.end() ) return ItDictHt->second; return NULL; }