|
BitShift Validate 0.1.0
BitShift Validate API Reference Documentation
|
#include <bitshift/validate/ansi.hxx>
Classes | |
| struct | reset_t |
Public Types | |
| enum | color : uint8_t |
| enum | style : uint8_t |
Public Member Functions | |
| ansi () | |
| ansi (color, style=kNormal) | |
| color | get_color () const |
| style | get_style () const |
Static Public Attributes | |
| static constexpr reset_t const | reset {} |
Terminal ANSI-styles class.
| enum bitshift::validate::ansi::color : uint8_t |
Terminal color enumeration.
| enum bitshift::validate::ansi::style : uint8_t |
Terminal style enumeration.
| bitshift::validate::ansi::ansi | ( | ) |
Constructor.
| ansi::color bitshift::validate::ansi::get_color | ( | ) | const |
Get color.
| ansi::style bitshift::validate::ansi::get_style | ( | ) | const |
Get style.
|
staticconstexpr |
Tag for reset.