libdoip  0.1.0
DoIP (Diagnostics over Internet Protocol) ISO 13400 C++17 Library
doip::ansi Namespace Reference

Variables

constexpr const char * reset = "\033[0m"
 
constexpr const char * black = "\033[30m"
 
constexpr const char * red = "\033[31m"
 
constexpr const char * green = "\033[32m"
 
constexpr const char * yellow = "\033[33m"
 
constexpr const char * blue = "\033[34m"
 
constexpr const char * magenta = "\033[35m"
 
constexpr const char * cyan = "\033[36m"
 
constexpr const char * white = "\033[37m"
 
constexpr const char * bold_black = "\033[1;30m"
 
constexpr const char * bold_red = "\033[1;31m"
 
constexpr const char * bold_green = "\033[1;32m"
 
constexpr const char * bold_yellow = "\033[1;33m"
 
constexpr const char * bold_blue = "\033[1;34m"
 
constexpr const char * bold_magenta = "\033[1;35m"
 
constexpr const char * bold_cyan = "\033[1;36m"
 
constexpr const char * bold_white = "\033[1;37m"
 
constexpr const char * bg_black = "\033[40m"
 
constexpr const char * bg_red = "\033[41m"
 
constexpr const char * bg_green = "\033[42m"
 
constexpr const char * bg_yellow = "\033[43m"
 
constexpr const char * bg_blue = "\033[44m"
 
constexpr const char * bg_magenta = "\033[45m"
 
constexpr const char * bg_cyan = "\033[46m"
 
constexpr const char * bg_white = "\033[47m"
 
constexpr const char * bold = "\033[1m"
 
constexpr const char * dim = "\033[2m"
 
constexpr const char * italic = "\033[3m"
 
constexpr const char * underline = "\033[4m"
 
constexpr const char * blink = "\033[5m"
 
constexpr const char * reverse = "\033[7m"
 
constexpr const char * strikethrough = "\033[9m"
 

Variable Documentation

◆ bg_black

constexpr const char* doip::ansi::bg_black = "\033[40m"
constexpr

Definition at line 30 of file AnsiColors.h.

◆ bg_blue

constexpr const char* doip::ansi::bg_blue = "\033[44m"
constexpr

Definition at line 34 of file AnsiColors.h.

◆ bg_cyan

constexpr const char* doip::ansi::bg_cyan = "\033[46m"
constexpr

Definition at line 36 of file AnsiColors.h.

◆ bg_green

constexpr const char* doip::ansi::bg_green = "\033[42m"
constexpr

Definition at line 32 of file AnsiColors.h.

◆ bg_magenta

constexpr const char* doip::ansi::bg_magenta = "\033[45m"
constexpr

Definition at line 35 of file AnsiColors.h.

◆ bg_red

constexpr const char* doip::ansi::bg_red = "\033[41m"
constexpr

Definition at line 31 of file AnsiColors.h.

◆ bg_white

constexpr const char* doip::ansi::bg_white = "\033[47m"
constexpr

Definition at line 37 of file AnsiColors.h.

◆ bg_yellow

constexpr const char* doip::ansi::bg_yellow = "\033[43m"
constexpr

Definition at line 33 of file AnsiColors.h.

◆ black

constexpr const char* doip::ansi::black = "\033[30m"
constexpr

Definition at line 10 of file AnsiColors.h.

◆ blink

constexpr const char* doip::ansi::blink = "\033[5m"
constexpr

Definition at line 44 of file AnsiColors.h.

◆ blue

constexpr const char* doip::ansi::blue = "\033[34m"
constexpr

Definition at line 14 of file AnsiColors.h.

◆ bold

constexpr const char* doip::ansi::bold = "\033[1m"
constexpr

Definition at line 40 of file AnsiColors.h.

◆ bold_black

constexpr const char* doip::ansi::bold_black = "\033[1;30m"
constexpr

Definition at line 20 of file AnsiColors.h.

◆ bold_blue

constexpr const char* doip::ansi::bold_blue = "\033[1;34m"
constexpr

Definition at line 24 of file AnsiColors.h.

Referenced by doip::operator<<().

◆ bold_cyan

constexpr const char* doip::ansi::bold_cyan = "\033[1;36m"
constexpr

Definition at line 26 of file AnsiColors.h.

◆ bold_green

constexpr const char* doip::ansi::bold_green = "\033[1;32m"
constexpr

Definition at line 22 of file AnsiColors.h.

Referenced by doip::DoIPClient::printVehicleInformationResponse().

◆ bold_magenta

constexpr const char* doip::ansi::bold_magenta = "\033[1;35m"
constexpr

Definition at line 25 of file AnsiColors.h.

Referenced by doip::operator<<().

◆ bold_red

constexpr const char* doip::ansi::bold_red = "\033[1;31m"
constexpr

Definition at line 21 of file AnsiColors.h.

◆ bold_white

constexpr const char* doip::ansi::bold_white = "\033[1;37m"
constexpr

Definition at line 27 of file AnsiColors.h.

Referenced by doip::operator<<().

◆ bold_yellow

constexpr const char* doip::ansi::bold_yellow = "\033[1;33m"
constexpr

Definition at line 23 of file AnsiColors.h.

◆ cyan

constexpr const char* doip::ansi::cyan = "\033[36m"
constexpr

Definition at line 16 of file AnsiColors.h.

Referenced by doip::operator<<().

◆ dim

constexpr const char* doip::ansi::dim = "\033[2m"
constexpr

Definition at line 41 of file AnsiColors.h.

Referenced by doip::operator<<().

◆ green

constexpr const char* doip::ansi::green = "\033[32m"
constexpr

Definition at line 12 of file AnsiColors.h.

Referenced by doip::uds::operator<<(), and doip::operator<<().

◆ italic

constexpr const char* doip::ansi::italic = "\033[3m"
constexpr

Definition at line 42 of file AnsiColors.h.

◆ magenta

constexpr const char* doip::ansi::magenta = "\033[35m"
constexpr

Definition at line 15 of file AnsiColors.h.

◆ red

constexpr const char* doip::ansi::red = "\033[31m"
constexpr

Definition at line 11 of file AnsiColors.h.

Referenced by doip::uds::operator<<(), and doip::operator<<().

◆ reset

constexpr const char* doip::ansi::reset = "\033[0m"
constexpr

◆ reverse

constexpr const char* doip::ansi::reverse = "\033[7m"
constexpr

Definition at line 45 of file AnsiColors.h.

◆ strikethrough

constexpr const char* doip::ansi::strikethrough = "\033[9m"
constexpr

Definition at line 46 of file AnsiColors.h.

◆ underline

constexpr const char* doip::ansi::underline = "\033[4m"
constexpr

Definition at line 43 of file AnsiColors.h.

◆ white

constexpr const char* doip::ansi::white = "\033[37m"
constexpr

Definition at line 17 of file AnsiColors.h.

◆ yellow

constexpr const char* doip::ansi::yellow = "\033[33m"
constexpr

Definition at line 13 of file AnsiColors.h.

Referenced by doip::operator<<().