Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
Define ANSI colors (including foreground, background, bold and underline) for global use in std C/elm strings/outstreams, using implicit type conversions. More...
#include <elm/log/Log.h>
Public Member Functions | |
Color (const elm::CString &str) | |
elm::CString | operator() () const |
operator elm::CString () const | |
operator const char * () const | |
Friends | |
elm::io::Output & | operator<< (elm::io::Output &out, const Color &color) |
std::ostream & | operator<< (std::ostream &out, const Color &color) |
Define ANSI colors (including foreground, background, bold and underline) for global use in std C/elm strings/outstreams, using implicit type conversions.
elm::color::Color::Color | ( | const elm::CString & | str | ) |
elm::color::Color::operator const char * | ( | ) | const |
elm::color::Color::operator elm::CString | ( | ) | const |
elm::CString elm::color::Color::operator() | ( | ) | const |
References elm::log::COLOR, and elm::log::flags.
|
friend |
|
friend |