Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
+32
View File
@@ -0,0 +1,32 @@
// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.
#ifndef tools_sout
#define tools_sout
#include <string>
namespace tools {
/*
inline std::string sout(const std::string& a_string) {
return "\""+a_string+"\"";
}
*/
class sout : public std::string {
typedef std::string parent;
public:
sout(const std::string& a_value) {
parent::operator+=("\"");
parent::operator+=(a_value);
parent::operator+=("\"");
}
public:
sout(const sout& a_from):parent(a_from){}
sout& operator=(const sout& a_from){parent::operator=(a_from);return *this;}
};
}
#endif