![]() |
OpenMS
|
#include <OpenMS/config.h>#include <array>#include <iosfwd>#include <sstream>Go to the source code of this file.
Classes | |
| class | Colorizer |
| Color and style the fonts shown on cout/cerr (or other streams) More... | |
| struct | Colorizer::ColorWithUndo_ |
Namespaces | |
| OpenMS | |
| Main OpenMS namespace. | |
Enumerations | |
| enum class | ConsoleColor { RED , GREEN , YELLOW , BLUE , MAGENTA , CYAN , UNDERLINE , BRIGHT , INVERT } |
| Text colors/styles supported by Colorizer. More... | |
Functions | |
| std::ostream & | operator<< (std::ostream &o_stream, OpenMS::Colorizer &col) |
Variables | |
| Colorizer | red |
| Colorizer | green |
| Colorizer | yellow |
| Colorizer | blue |
| Colorizer | magenta |
| Colorizer | cyan |
| Colorizer | bright |
| Colorizer | underline |
| Colorizer | invert |
| struct OpenMS::Colorizer::ColorWithUndo_ |
holds ANSI codes to switch to a certain color or undo this effect The undo may not be a perfect fit when nesting, e.g. 'cout << red() << blue() << blue.undo()' will not yield red, but the default color
| Class Members | ||
|---|---|---|
| const char * | disable | ANSO code to undo the color/style. |
| const char * | enable | ANSI code to activate the color/style. |