Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/Geant4/tools/sep 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_sep
0005 #define tools_sep
0006 
0007 #include <string>
0008 
0009 namespace tools {
0010 
0011 inline const std::string& sep() {
0012 #ifdef _WIN32
0013   static const std::string s_v("\\");
0014 #else
0015   static const std::string s_v("/");
0016 #endif
0017   return s_v;
0018 }
0019 
0020 inline const std::string& psep() {
0021 #ifdef _WIN32
0022   static const std::string s_v(";");
0023 #else
0024   static const std::string s_v(":");
0025 #endif
0026   return s_v;
0027 }
0028 
0029 inline const std::string& res_sep() {
0030   static const std::string s_v(".");
0031   return s_v;
0032 }
0033 
0034 }
0035 
0036 #endif