X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmUtil.cxx;h=cabc9675112250c470f7a2decc523f3c7080b7fc;hb=c1e76b5446c340a4b2df46cabedeab2d71bd45f8;hp=c2e169ddb1563bb2f5fcb9288b6ff0c38340e395;hpb=1bc5ccd72098866fc29ca8a786e8bb6852f388ea;p=gdcm.git diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index c2e169dd..cabc9675 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -1,10 +1,27 @@ -// gdcmUtil.cxx -//----------------------------------------------------------------------------- +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmUtil.cxx,v $ + Language: C++ + Date: $Date: 2004/06/20 18:08:48 $ + Version: $Revision: 1.44 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.htm for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ + #include "gdcmUtil.h" #include "gdcmDebug.h" #include #include // For isspace #include // CLEANME: could this be only string ? Related to Win32 ? +#include /** * \ingroup Globals @@ -46,7 +63,7 @@ void Tokenize (const std::string& str, std::string CreateCleanString(std::string s) { std::string str=s; - for(int i=0;i