Classes | |
class | libthrowable::ColoredString |
Class for printing colored text to a terminal. More... | |
Functions | |
static void | libthrowable::TracePoint::setThreadName (const std::string &name) throw () |
Sets a name for the current thread. | |
Variables | |
const unsigned | libthrowable::c_white = 0 |
White, sometimes grey without c_intensity. | |
const unsigned | libthrowable::c_black = 1 |
Black. | |
const unsigned | libthrowable::c_yellow = 2 |
Yellow, sometimes orange or brown without c_intensity. | |
const unsigned | libthrowable::c_red = 3 |
Red. | |
const unsigned | libthrowable::c_magenta = 4 |
Magenta. | |
const unsigned | libthrowable::c_blue = 5 |
Blue. | |
const unsigned | libthrowable::c_cyan = 6 |
Cyan. | |
const unsigned | libthrowable::c_green = 7 |
Green. | |
const unsigned | libthrowable::c_nochange = 8 |
Passing this value will preserve the previous color settings. | |
const unsigned | libthrowable::c_intensity = 128 |
Not a real color, but can be ORed together with another color to add intensity and/or make the text appear bold. |
static void libthrowable::TracePoint::setThreadName | ( | const std::string & | name | ) | throw () [static, inherited] |
Sets a name for the current thread.
This name will be displayed in a TracePoint's output instead of the thread's id.
const unsigned libthrowable::c_black = 1 |
Black.
const unsigned libthrowable::c_blue = 5 |
Blue.
const unsigned libthrowable::c_cyan = 6 |
Cyan.
const unsigned libthrowable::c_green = 7 |
Green.
const unsigned libthrowable::c_intensity = 128 |
Not a real color, but can be ORed together with another color to add intensity and/or make the text appear bold.
const unsigned libthrowable::c_magenta = 4 |
Magenta.
const unsigned libthrowable::c_nochange = 8 |
Passing this value will preserve the previous color settings.
const unsigned libthrowable::c_red = 3 |
Red.
const unsigned libthrowable::c_white = 0 |
White, sometimes grey without c_intensity.
const unsigned libthrowable::c_yellow = 2 |
Yellow, sometimes orange or brown without c_intensity.