Program: gdcm
Module: $RCSfile: gdcmUtil.cxx,v $
Language: C++
- Date: $Date: 2005/10/06 18:49:30 $
- Version: $Revision: 1.164 $
+ Date: $Date: 2005/10/20 07:25:10 $
+ Version: $Revision: 1.166 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
bool Util::IsCleanString(std::string const &s)
{
- std::cout<< std::endl << s << std::endl;
+ std::cout<< std::endl << s << std::endl;
for(unsigned int i=0; i<s.size(); i++)
{
//std::cout<< std::endl << i << " : " << (unsigned char)s[i] << std::endl;
return false;
}
}
-return true;
+ return true;
}
/**
append += Util::GDCM_MAC_ADRESS;
append += ".";
append += Util::GetCurrentDateTime();
-
+ append += ".";
//Also add a mini random number just in case:
char tmp[10];
int r = (int) (100.0*rand()/RAND_MAX);