43#define EMPHASIZE_BEGIN "\"<tt><b>"
44#define EMPHASIZE_END "</tt></b>\""
46#define RED_BEGIN "<font color=\"red\">"
47#define COLOR_END "</font>"
48#define GREEN_BEGIN "<font color=\"green\">"
49#define YELLOW_BEGIN "<font color=\"yellow\">"
51#define VRL_CRITICAL_ERROR ">> this is a critical error in UG-VRL bindings!" \
52 " Please write a bug report to " \
54 "Michael Hoffer <michael.hoffer@gcsc.uni-frankfurt.de>" \
51#define VRL_CRITICAL_ERROR ">> this is a critical error in UG-VRL bindings!" \ …
74 const std::string oldstr,
75 const std::string newstr);
84std::vector<std::string>
split(
85 const std::string& str,
86 const char delimiter);
95bool startsWith(std::string str, std::string search);
104bool contains(std::string str, std::string search);
124bool checkException(JNIEnv* env, std::string msg =
"",
bool throwCPPException =
true);
132 static void addMessage(std::string msg);
Definition messaging.h:126
parameterString ex
Executes the specified script.
Definition command_line_util.lua:350
#define UG_API
Definition ug_config.h:65
bool checkException(JNIEnv *env, std::string msg, bool throwCPPException)
Definition messaging.cpp:117
std::string getExceptionMessageString(JNIEnv *env, jthrowable exception)
Definition messaging.cpp:98
bool contains(std::string str, std::string search)
Definition messaging.cpp:94
bool startsWith(std::string str, std::string search)
Definition messaging.cpp:90
std::string replaceAll(std::string target, const std::string oldstr, const std::string newstr)
Definition messaging.cpp:72
std::vector< std::string > split(const std::string &str, const char delimiter)
Definition messaging.cpp:57