ug4
messaging.h File Reference
#include <string>
#include <deque>
#include <vector>
#include <jni.h>
#include "common/ug_config.h"

Go to the source code of this file.

Classes

class  ug::vrl::MessageBuffer
 

Namespaces

 ug
 the ug namespace
 
 ug::vrl
 

Macros

#define COLOR_END   "</font>"
 
#define EMPHASIZE_BEGIN   "\"<tt><b>"
 
#define EMPHASIZE_END   "</tt></b>\""
 
#define GREEN_BEGIN   "<font color=\"green\">"
 
#define RED_BEGIN   "<font color=\"red\">"
 
#define VRL_CRITICAL_ERROR
 
#define YELLOW_BEGIN   "<font color=\"yellow\">"
 

Functions

bool ug::vrl::checkException (JNIEnv *env, std::string msg, bool throwCPPException)
 
bool ug::vrl::contains (std::string str, std::string search)
 
std::string ug::vrl::getExceptionMessageString (JNIEnv *env, jthrowable exception)
 
std::string ug::vrl::replaceAll (std::string target, const std::string oldstr, const std::string newstr)
 
std::vector< std::string > ug::vrl::split (const std::string &str, const char delimiter)
 
bool ug::vrl::startsWith (std::string str, std::string search)
 

Macro Definition Documentation

◆ COLOR_END

#define COLOR_END   "</font>"

◆ EMPHASIZE_BEGIN

#define EMPHASIZE_BEGIN   "\"<tt><b>"

◆ EMPHASIZE_END

#define EMPHASIZE_END   "</tt></b>\""

◆ GREEN_BEGIN

#define GREEN_BEGIN   "<font color=\"green\">"

◆ RED_BEGIN

#define RED_BEGIN   "<font color=\"red\">"

◆ VRL_CRITICAL_ERROR

#define VRL_CRITICAL_ERROR
Value:
">> this is a critical error in UG-VRL bindings!" \
" Please write a bug report to " \
EMPHASIZE_BEGIN \
"Michael Hoffer &lt;michael.hoffer@gcsc.uni-frankfurt.de&gt;" \
EMPHASIZE_END \
".\n"

◆ YELLOW_BEGIN

#define YELLOW_BEGIN   "<font color=\"yellow\">"