|
HIPO
4.3.0
High Performance Output data format for experimental physics
|
ANSI text decoration (bold, italic, underline, etc.). More...
#include <color.h>
Public Types | |
| enum | Attribute { RESET = 0 , BOLD = 1 , DIM = 2 , ITALIC = 3 , UNDERLINE = 4 , SLOWBLINK = 5 , RAPIDBLINK = 6 , REVERSED = 7 , CONCEAL = 8 , CROSSED = 9 , NO_BOLD = 22 , NO_DIM = 22 , NO_ITALIC = 23 , NO_UNDERLINE = 24 , NO_BLINK = 25 , NO_REVERSED = 27 , NO_CONCEAL = 28 , NO_CROSSED = 29 } |
Static Public Member Functions | |
| static Decoration | From (Attribute attr) |
| Create a Decoration from an Attribute. More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Decoration &val) |
| Output the decoration escape sequence to an output stream. More... | |
ANSI text decoration (bold, italic, underline, etc.).
Encapsulates text decorations that can be applied to terminal output.
|
inlinestatic |
Create a Decoration from an Attribute.
| attr | the decoration attribute |
|
friend |