Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/Geant4/tools/schar is written in an unsupported language. File is not indexed.

0001 // Copyright (C) 2010, Guy Barrand. All rights reserved.
0002 // See the file tools.license for terms.
0003 
0004 #ifndef tools_schar
0005 #define tools_schar
0006 
0007 #include <string>
0008 
0009 namespace tools {
0010 
0011 inline bool is_spaces(const std::string& a_string){
0012   std::string::const_iterator it;
0013   for(it=a_string.begin();it!=a_string.end();++it) {
0014     if((*it)!=' ') return false;
0015   }
0016   return true;
0017 }
0018 
0019 }
0020 
0021 #endif