Import Geant4 11.4.0 source tree

This commit is contained in:
Gabriele Cosmo
2025-12-05 08:54:02 +01:00
parent a499fb82e9
commit b4a16de652
6484 changed files with 232674 additions and 221097 deletions
+2 -8
View File
@@ -12,6 +12,8 @@ namespace tools {
// \r = CR : 13
// \t = HT : 9
// , : 44
inline char LF() {return 10;}
inline char CR() {return 13;}
inline bool is_upper(char a_char) {
// do it myself: due to problem with ctype.h and
@@ -98,14 +100,6 @@ inline bool is_digit(char a_char) {
return false;
}
inline bool is_letter(char a_char) {
return (is_lower(a_char)||is_upper(a_char)) ? true : false;
}
//inline bool is_alpha(char a_char) {
// return (is_lower(a_char)||is_upper(a_char)||is_digit(a_char)) ? true : false;
//}
inline bool is_printable(char a_char) {
if(is_lower(a_char)||is_upper(a_char)||is_digit(a_char)) return true;
switch(a_char) {