22 #ifndef __LAUNCHER_UTILS_HXX__
23 #define __LAUNCHER_UTILS_HXX__
28 # if defined LAUNCHER_EXPORTS || defined Launcher_EXPORTS
29 # define LAUNCHER_EXPORT __declspec(dllexport)
31 # define LAUNCHER_EXPORT __declspec(dllimport)
35 #define S_ISREG(mode) (((mode) & S_IFMT) == S_IFREG)
39 # define LAUNCHER_EXPORT
42 #if defined(_DEBUG_) || defined(_DEBUG)
47 #define LAUNCHER_MESS_INIT(deb) std::cerr << deb
48 #define LAUNCHER_MESS_BEGIN(deb) LAUNCHER_MESS_INIT(deb)<<__FILE__ <<" ["<<__LINE__<<"] : "
49 #define LAUNCHER_MESS_END std::endl;
50 #define LAUNCHER_INFOS(msg) {LAUNCHER_MESS_BEGIN("- Trace ") << msg << LAUNCHER_MESS_END}
52 #if defined(LAUNCHER_DEGBUG)
53 #define LAUNCHER_MESSAGE(msg) {LAUNCHER_MESS_BEGIN("- Trace ") << msg << LAUNCHER_MESS_END}
55 #define LAUNCHER_MESSAGE(msg) {}
61 const std::string
msg;
#define LAUNCHER_EXPORT
Definition: Launcher_Utils.hxx:39
Definition: Launcher_Utils.hxx:59
const std::string msg
Definition: Launcher_Utils.hxx:61
LauncherException(const std::string m)
Definition: Launcher_Utils.hxx:63
string msg
Definition: TestMinimalExample.py:168