Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
elm::io Namespace Reference

Classes

class  ANSIManager
 
class  BlockInStream
 
class  BlockOutStream
 
class  BufferedInStream
 
class  BufferedOutStream
 
struct  def_printer
 
struct  enum_printer
 
class  EOL
 
class  FileInput
 
class  FileOutput
 
class  FloatFormat
 
class  InFileStream
 
class  Input
 
class  InStream
 
class  IntFormat
 
class  IOException
 
class  ListPrinter
 
class  Monitor
 
class  NullInStream
 
class  NullOutStream
 
class  OSExpander
 
class  OutFileStream
 
class  Output
 
class  OutStream
 
class  Printable
 
class  RandomAccessStream
 
class  StreamPipe
 
class  StringFormat
 
class  StringInput
 
class  StringOutput
 
class  StructuredOutput
 
class  Tag
 
class  TeeOutStream
 
class  UnixInStream
 
class  UnixOutStream
 
class  VarExpander
 
class  WinInStream
 
class  WinOutStream
 

Typedefs

typedef Tag< ANSIManagerANSICode
 
typedef enum elm::io::alignment_t alignment_t
 

Enumerations

enum  alignment_t { NONE = 0, LEFT, CENTER, RIGHT }
 

Functions

FileInput read (sys::Path path)
 
StringInput read (const char *s)
 
StringInput read (const cstring &s)
 
StringInput read (const string &s)
 
FileOutput write (sys::Path path)
 
FileOutput append (sys::Path path)
 
template<class T >
Outputoperator<< (Output &out, const T &v)
 
template<class T >
Outputoperator<< (Output &out, T *v)
 
Outputoperator<< (Output &out, bool value)
 
Outputoperator<< (Output &out, char value)
 
Outputoperator<< (Output &out, t::int8 value)
 
Outputoperator<< (Output &out, t::uint8 value)
 
Outputoperator<< (Output &out, t::int16 value)
 
Outputoperator<< (Output &out, t::uint16 value)
 
Outputoperator<< (Output &out, t::int32 value)
 
Outputoperator<< (Output &out, t::uint32 value)
 
Outputoperator<< (Output &out, t::int64 value)
 
Outputoperator<< (Output &out, t::uint64 value)
 
Outputoperator<< (Output &out, float value)
 
Outputoperator<< (Output &out, double value)
 
Outputoperator<< (Output &out, const char *value)
 
Outputoperator<< (Output &out, char *value)
 
Outputoperator<< (Output &out, const CString value)
 
Outputoperator<< (Output &out, const string &value)
 
Outputoperator<< (Output &out, const IntFormat &value)
 
Outputoperator<< (Output &out, const FloatFormat &value)
 
Outputoperator<< (Output &out, const StringFormat &value)
 
Outputoperator<< (Output &out, EOL eol)
 
template<class P >
io::Outputoperator<< (io::Output &out, const Tag< P > &t)
 
IntFormat base (int base, IntFormat fmt)
 
IntFormat bin (IntFormat fmt)
 
IntFormat oct (IntFormat fmt)
 
IntFormat hex (IntFormat fmt)
 
IntFormat sign (IntFormat fmt)
 
IntFormat width (int width, IntFormat fmt)
 
IntFormat align (alignment_t align, IntFormat fmt)
 
IntFormat left (IntFormat fmt)
 
IntFormat right (IntFormat fmt)
 
IntFormat center (IntFormat fmt)
 
IntFormat pad (char pad, IntFormat fmt)
 
IntFormat uppercase (IntFormat fmt)
 
IntFormat lowercase (IntFormat fmt)
 
IntFormat fmt (t::int8 i)
 
IntFormat fmt (t::uint8 i)
 
IntFormat fmt (t::int16 i)
 
IntFormat fmt (t::uint16 i)
 
IntFormat fmt (t::int32 i)
 
IntFormat fmt (t::uint32 i)
 
IntFormat fmt (t::int64 i)
 
IntFormat fmt (t::uint64 i)
 
FloatFormat fmt (float f)
 
FloatFormat fmt (double f)
 
StringFormat fmt (string s)
 
StringFormat fmt (cstring s)
 
StringFormat fmt (const char *s)
 
template<class T , class M >
io::Outputoperator<< (io::Output &out, const Printable< T, M > &p)
 
template<class T , class M >
Printable< T, M > p (const T &data, const M &man)
 
template<class T >
ListPrinter< T > list (const T &l, cstring s="", typename ListPrinter< T >::fun_t f=ListPrinter< T >::asis)
 
template<class T >
io::Outputoperator<< (io::Output &out, const ListPrinter< T > &l)
 
IntFormat pointer (const void *p)
 
IntFormat byte (t::uint8 b)
 
string expandOSVars (string t)
 
ANSICode PLAIN ("\x1B[0m")
 
ANSICode BOLD ("\x1B[1m")
 < ANSI code for plain display More...
 
ANSICode FAINT ("\x1B[2m")
 < ANSI code for bold text More...
 
ANSICode ITALIC ("\x1B[3m")
 < ANSI code for faint text More...
 
ANSICode UNDERLINE ("\x1B[4m")
 < ANSI code for italic text More...
 
ANSICode BLINK ("\x1B[5m")
 < ANSI code for underlined text More...
 
ANSICode RAPID_BLINK ("\x1B[6m")
 < ANSI code for blink text More...
 
ANSICode REVERSE ("\x1B[7m")
 < ANSI code for rapid blink text More...
 
ANSICode BLACK ("\x1B[30m")
 
ANSICode RED ("\x1B[31m")
 < ANSI code for black text More...
 
ANSICode GREEN ("\x1B[32m")
 < ANSI code for red text More...
 
ANSICode YELLOW ("\x1B[33m")
 < ANSI code for green text More...
 
ANSICode BLUE ("\x1B[34m")
 < ANSI code for yellow text More...
 
ANSICode MAGENTA ("\x1B[35m")
 < ANSI code for blue text More...
 
ANSICode CYAN ("\x1B[36m")
 < ANSI code for magenta text More...
 
ANSICode WHITE ("\x1B[37m")
 < ANSI code for cyan text More...
 
ANSICode BRIGHT_BLACK ("\x1B[90m")
 < ANSI code for white text More...
 
ANSICode BRIGHT_RED ("\x1B[91m")
 < ANSI code for bright black text More...
 
ANSICode BRIGHT_GREEN ("\x1B[92m")
 < ANSI code for bright red text More...
 
ANSICode BRIGHT_YELLOW ("\x1B[93m")
 < ANSI code for bright green text More...
 
ANSICode BRIGHT_BLUE ("\x1B[94m")
 < ANSI code for bright yellow text More...
 
ANSICode BRIGHT_MAGENTA ("\x1B[95m")
 < ANSI code for bright blue text More...
 
ANSICode BRIGHT_CYAN ("\x1B[96m")
 < ANSI code for bright magenta text More...
 
ANSICode BRIGHT_WHITE ("\x1B[97m")
 < ANSI code for bright cyan text More...
 
ANSICode BACK_BLACK ("\x1B[40m")
 
ANSICode BACK_RED ("\x1B[41m")
 < ANSI code for black back More...
 
ANSICode BACK_GREEN ("\x1B[42m")
 < ANSI code for red back More...
 
ANSICode BACK_YELLOW ("\x1B[43m")
 < ANSI code for green back More...
 
ANSICode BACK_BLUE ("\x1B[44m")
 < ANSI code for yellow back More...
 
ANSICode BACK_MAGENTA ("\x1B[45m")
 < ANSI code for blue back More...
 
ANSICode BACK_CYAN ("\x1B[46m")
 < ANSI code for magenta back More...
 
ANSICode BACK_WHITE ("\x1B[47m")
 < ANSI code for cyan back More...
 
ANSICode BACK_BRIGHT_BLACK ("\x1B[100m")
 < ANSI code for white back More...
 
ANSICode BACK_BRIGHT_RED ("\x1B[101m")
 < ANSI code for bright black back More...
 
ANSICode BACK_BRIGHT_GREEN ("\x1B[102m")
 < ANSI code for bright red back More...
 
ANSICode BACK_BRIGHT_YELLOW ("\x1B[103m")
 < ANSI code for bright green back More...
 
ANSICode BACK_BRIGHT_BLUE ("\x1B[104m")
 < ANSI code for bright yellow back More...
 
ANSICode BACK_BRIGHT_MAGENTA ("\x1B[105m")
 < ANSI code for bright blue back More...
 
ANSICode BACK_BRIGHT_CYAN ("\x1B[106m")
 < ANSI code for bright magenta back More...
 
ANSICode BACK_BRIGHT_WHITE ("\x1B[107m")
 < ANSI code for bright cyan back More...
 
static int test_base (char chr, int base)
 
static sys::SystemOutStream Win_stdout (GetStdHandle(STD_OUTPUT_HANDLE))
 
static sys::SystemOutStream Win_stderr (GetStdHandle(STD_ERROR_HANDLE))
 

Variables

ANSICode PLAIN
 
ANSICode BOLD
 < ANSI code for plain display More...
 
ANSICode FAINT
 < ANSI code for bold text More...
 
ANSICode ITALIC
 < ANSI code for faint text More...
 
ANSICode UNDERLINE
 < ANSI code for italic text More...
 
ANSICode BLINK
 < ANSI code for underlined text More...
 
ANSICode RAPID_BLINK
 < ANSI code for blink text More...
 
ANSICode REVERSE
 < ANSI code for rapid blink text More...
 
ANSICode BLACK
 
ANSICode RED
 < ANSI code for black text More...
 
ANSICode GREEN
 < ANSI code for red text More...
 
ANSICode YELLOW
 < ANSI code for green text More...
 
ANSICode BLUE
 < ANSI code for yellow text More...
 
ANSICode MAGENTA
 < ANSI code for blue text More...
 
ANSICode CYAN
 < ANSI code for magenta text More...
 
ANSICode WHITE
 < ANSI code for cyan text More...
 
ANSICode BRIGHT_BLACK
 < ANSI code for white text More...
 
ANSICode BRIGHT_RED
 < ANSI code for bright black text More...
 
ANSICode BRIGHT_GREEN
 < ANSI code for bright red text More...
 
ANSICode BRIGHT_YELLOW
 < ANSI code for bright green text More...
 
ANSICode BRIGHT_BLUE
 < ANSI code for bright yellow text More...
 
ANSICode BRIGHT_MAGENTA
 < ANSI code for bright blue text More...
 
ANSICode BRIGHT_CYAN
 < ANSI code for bright magenta text More...
 
ANSICode BRIGHT_WHITE
 < ANSI code for bright cyan text More...
 
ANSICode BACK_BLACK
 
ANSICode BACK_RED
 < ANSI code for black back More...
 
ANSICode BACK_GREEN
 < ANSI code for red back More...
 
ANSICode BACK_YELLOW
 < ANSI code for green back More...
 
ANSICode BACK_BLUE
 < ANSI code for yellow back More...
 
ANSICode BACK_MAGENTA
 < ANSI code for blue back More...
 
ANSICode BACK_CYAN
 < ANSI code for magenta back More...
 
ANSICode BACK_WHITE
 < ANSI code for cyan back More...
 
ANSICode BACK_BRIGHT_BLACK
 < ANSI code for white back More...
 
ANSICode BACK_BRIGHT_RED
 < ANSI code for bright black back More...
 
ANSICode BACK_BRIGHT_GREEN
 < ANSI code for bright red back More...
 
ANSICode BACK_BRIGHT_YELLOW
 < ANSI code for bright green back More...
 
ANSICode BACK_BRIGHT_BLUE
 < ANSI code for bright yellow back More...
 
ANSICode BACK_BRIGHT_MAGENTA
 < ANSI code for bright blue back More...
 
ANSICode BACK_BRIGHT_CYAN
 < ANSI code for bright magenta back More...
 
ANSICode BACK_BRIGHT_WHITE
 < ANSI code for bright cyan back More...
 
const EOL endl
 
FloatFormat percent = FloatFormat().width(5, 2).decimal().right()
 
sys::SystemInStream & in = sys::stdin_object
 
sys::SystemOutStream & out = sys::stdout_object
 
sys::SystemOutStream & err = sys::stderr_object
 
elm::io::NullInStream _null
 
elm::io::NullOutStream _null
 

Typedef Documentation

◆ alignment_t

◆ ANSICode

Enumeration Type Documentation

◆ alignment_t

Enumerator
NONE 
LEFT 
CENTER 
RIGHT 

Function Documentation

◆ BACK_BLACK()

ANSICode elm::io::BACK_BLACK ( "\x1B[40m"  )

◆ BACK_BLUE()

ANSICode elm::io::BACK_BLUE ( "\x1B[44m"  )

< ANSI code for yellow back

◆ BACK_BRIGHT_BLACK()

ANSICode elm::io::BACK_BRIGHT_BLACK ( "\x1B[100m"  )

< ANSI code for white back

◆ BACK_BRIGHT_BLUE()

ANSICode elm::io::BACK_BRIGHT_BLUE ( "\x1B[104m"  )

< ANSI code for bright yellow back

◆ BACK_BRIGHT_CYAN()

ANSICode elm::io::BACK_BRIGHT_CYAN ( "\x1B[106m"  )

< ANSI code for bright magenta back

◆ BACK_BRIGHT_GREEN()

ANSICode elm::io::BACK_BRIGHT_GREEN ( "\x1B[102m"  )

< ANSI code for bright red back

◆ BACK_BRIGHT_MAGENTA()

ANSICode elm::io::BACK_BRIGHT_MAGENTA ( "\x1B[105m"  )

< ANSI code for bright blue back

◆ BACK_BRIGHT_RED()

ANSICode elm::io::BACK_BRIGHT_RED ( "\x1B[101m"  )

< ANSI code for bright black back

◆ BACK_BRIGHT_WHITE()

ANSICode elm::io::BACK_BRIGHT_WHITE ( "\x1B[107m"  )

< ANSI code for bright cyan back

ANSI code for bright white back

◆ BACK_BRIGHT_YELLOW()

ANSICode elm::io::BACK_BRIGHT_YELLOW ( "\x1B[103m"  )

< ANSI code for bright green back

◆ BACK_CYAN()

ANSICode elm::io::BACK_CYAN ( "\x1B[46m"  )

< ANSI code for magenta back

◆ BACK_GREEN()

ANSICode elm::io::BACK_GREEN ( "\x1B[42m"  )

< ANSI code for red back

◆ BACK_MAGENTA()

ANSICode elm::io::BACK_MAGENTA ( "\x1B[45m"  )

< ANSI code for blue back

◆ BACK_RED()

ANSICode elm::io::BACK_RED ( "\x1B[41m"  )

< ANSI code for black back

◆ BACK_WHITE()

ANSICode elm::io::BACK_WHITE ( "\x1B[47m"  )

< ANSI code for cyan back

◆ BACK_YELLOW()

ANSICode elm::io::BACK_YELLOW ( "\x1B[43m"  )

< ANSI code for green back

◆ BLACK()

ANSICode elm::io::BLACK ( "\x1B[30m"  )

◆ BLINK()

ANSICode elm::io::BLINK ( "\x1B[5m"  )

< ANSI code for underlined text

◆ BLUE()

ANSICode elm::io::BLUE ( "\x1B[34m"  )

< ANSI code for yellow text

◆ BOLD()

ANSICode elm::io::BOLD ( "\x1B[1m"  )

< ANSI code for plain display

◆ BRIGHT_BLACK()

ANSICode elm::io::BRIGHT_BLACK ( "\x1B[90m"  )

< ANSI code for white text

◆ BRIGHT_BLUE()

ANSICode elm::io::BRIGHT_BLUE ( "\x1B[94m"  )

< ANSI code for bright yellow text

◆ BRIGHT_CYAN()

ANSICode elm::io::BRIGHT_CYAN ( "\x1B[96m"  )

< ANSI code for bright magenta text

◆ BRIGHT_GREEN()

ANSICode elm::io::BRIGHT_GREEN ( "\x1B[92m"  )

< ANSI code for bright red text

◆ BRIGHT_MAGENTA()

ANSICode elm::io::BRIGHT_MAGENTA ( "\x1B[95m"  )

< ANSI code for bright blue text

◆ BRIGHT_RED()

ANSICode elm::io::BRIGHT_RED ( "\x1B[91m"  )

< ANSI code for bright black text

◆ BRIGHT_WHITE()

ANSICode elm::io::BRIGHT_WHITE ( "\x1B[97m"  )

< ANSI code for bright cyan text

ANSI code for bright white text

◆ BRIGHT_YELLOW()

ANSICode elm::io::BRIGHT_YELLOW ( "\x1B[93m"  )

< ANSI code for bright green text

◆ CYAN()

ANSICode elm::io::CYAN ( "\x1B[36m"  )

< ANSI code for magenta text

◆ expandOSVars()

string expandOSVars ( string  s)

Expand the variable in the given string, replacing variable invocation by OS variable values.

Parameters
sString to replace in.
Returns
s with variable replaced.

References VarExpander::expand().

◆ FAINT()

ANSICode elm::io::FAINT ( "\x1B[2m"  )

< ANSI code for bold text

◆ fmt() [1/5]

StringFormat fmt ( const char *  s)
inline

Build a formatted string.

◆ fmt() [2/5]

StringFormat fmt ( cstring  s)
inline

Build a formatted string.

◆ fmt() [3/5]

FloatFormat fmt ( double  f)
inline

Build a formatted double floating-point number.

◆ fmt() [4/5]

FloatFormat fmt ( float  f)
inline

Build a formatted single floating-point number.

◆ fmt() [5/5]

StringFormat fmt ( string  s)
inline

Build a formatted string.

◆ GREEN()

ANSICode elm::io::GREEN ( "\x1B[32m"  )

< ANSI code for red text

◆ ITALIC()

ANSICode elm::io::ITALIC ( "\x1B[3m"  )

< ANSI code for faint text

◆ list()

◆ MAGENTA()

ANSICode elm::io::MAGENTA ( "\x1B[35m"  )

< ANSI code for blue text

◆ oct()

IntFormat elm::io::oct ( IntFormat  fmt)
inline

References fmt(), and IntFormat::oct().

◆ operator<<() [1/25]

io::Output& elm::io::operator<< ( io::Output out,
const ListPrinter< T > &  l 
)
inline

◆ operator<<() [2/25]

io::Output& elm::io::operator<< ( io::Output out,
const Printable< T, M > &  p 
)
inline

References out, and p().

◆ operator<<() [3/25]

io::Output& elm::io::operator<< ( io::Output out,
const Tag< P > &  t 
)

References out, and Tag< P >::print().

◆ operator<<() [4/25]

Output& elm::io::operator<< ( Output out,
bool  value 
)
inline

References out.

◆ operator<<() [5/25]

Output& elm::io::operator<< ( Output out,
char *  value 
)
inline

References out.

◆ operator<<() [6/25]

Output& elm::io::operator<< ( Output out,
char  value 
)
inline

References out.

◆ operator<<() [7/25]

Output& elm::io::operator<< ( Output out,
const char *  value 
)
inline

References out.

◆ operator<<() [8/25]

Output& elm::io::operator<< ( Output out,
const CString  value 
)
inline

References out.

◆ operator<<() [9/25]

Output& elm::io::operator<< ( Output out,
const FloatFormat value 
)
inline

References out.

◆ operator<<() [10/25]

Output& elm::io::operator<< ( Output out,
const IntFormat value 
)
inline

References out.

◆ operator<<() [11/25]

Output& elm::io::operator<< ( Output out,
const string value 
)
inline

References out.

◆ operator<<() [12/25]

Output& elm::io::operator<< ( Output out,
const StringFormat value 
)
inline

References out.

◆ operator<<() [13/25]

Output& elm::io::operator<< ( Output out,
const T &  v 
)
inline

References out.

◆ operator<<() [14/25]

Output& elm::io::operator<< ( Output out,
double  value 
)
inline

References out.

◆ operator<<() [15/25]

Output& elm::io::operator<< ( Output out,
EOL  eol 
)
inline

References out.

◆ operator<<() [16/25]

Output& elm::io::operator<< ( Output out,
float  value 
)
inline

References out.

◆ operator<<() [17/25]

Output& elm::io::operator<< ( Output out,
T *  v 
)
inline

References out.

◆ operator<<() [18/25]

Output& elm::io::operator<< ( Output out,
t::int16  value 
)
inline

References out.

◆ operator<<() [19/25]

Output& elm::io::operator<< ( Output out,
t::int32  value 
)
inline

References out.

◆ operator<<() [20/25]

Output& elm::io::operator<< ( Output out,
t::int64  value 
)
inline

References out.

◆ operator<<() [21/25]

Output& elm::io::operator<< ( Output out,
t::int8  value 
)
inline

References out.

◆ operator<<() [22/25]

Output& elm::io::operator<< ( Output out,
t::uint16  value 
)
inline

References out.

◆ operator<<() [23/25]

Output& elm::io::operator<< ( Output out,
t::uint32  value 
)
inline

References out.

◆ operator<<() [24/25]

Output& elm::io::operator<< ( Output out,
t::uint64  value 
)
inline

References out.

◆ operator<<() [25/25]

Output& elm::io::operator<< ( Output out,
t::uint8  value 
)
inline

References out.

◆ PLAIN()

ANSICode elm::io::PLAIN ( "\x1B[0m"  )

◆ RAPID_BLINK()

ANSICode elm::io::RAPID_BLINK ( "\x1B[6m"  )

< ANSI code for blink text

◆ read() [1/2]

StringInput elm::io::read ( const cstring s)
inline

◆ read() [2/2]

StringInput elm::io::read ( const string s)
inline

◆ RED()

ANSICode elm::io::RED ( "\x1B[31m"  )

< ANSI code for black text

◆ REVERSE()

ANSICode elm::io::REVERSE ( "\x1B[7m"  )

< ANSI code for rapid blink text

ANSI code for reverse mode text

◆ sign()

IntFormat elm::io::sign ( IntFormat  fmt)
inline

References fmt(), and IntFormat::sign().

◆ test_base()

static int elm::io::test_base ( char  chr,
int  base 
)
inlinestatic

Test if the character is in the base and return the matching digit.

Parameters
chrCharacter to test.
baseBase of the read.
Returns
Matching digit or not (-1).

References base().

Referenced by Input::scanULLong(), and Input::scanULong().

◆ UNDERLINE()

ANSICode elm::io::UNDERLINE ( "\x1B[4m"  )

< ANSI code for italic text

◆ WHITE()

ANSICode elm::io::WHITE ( "\x1B[37m"  )

< ANSI code for cyan text

◆ Win_stderr()

static sys::SystemOutStream elm::io::Win_stderr ( GetStdHandle(STD_ERROR_HANDLE)  )
static

Stream pointing to the standard error output.

◆ Win_stdout()

static sys::SystemOutStream elm::io::Win_stdout ( GetStdHandle(STD_OUTPUT_HANDLE)  )
static

Stream pointing to the standard output.

◆ YELLOW()

ANSICode elm::io::YELLOW ( "\x1B[33m"  )

< ANSI code for green text

Variable Documentation

◆ _null [1/2]

elm::io::NullInStream _null
static

◆ _null [2/2]

elm::io::NullOutStream _null
static

◆ BACK_BLACK

ANSICode BACK_BLACK("\x1B[40m")

◆ BACK_BLUE

ANSICode BACK_BLUE("\x1B[44m")

< ANSI code for yellow back

◆ BACK_BRIGHT_BLACK

ANSICode BACK_BRIGHT_BLACK("\x1B[100m")

< ANSI code for white back

◆ BACK_BRIGHT_BLUE

ANSICode BACK_BRIGHT_BLUE("\x1B[104m")

< ANSI code for bright yellow back

◆ BACK_BRIGHT_CYAN

ANSICode BACK_BRIGHT_CYAN("\x1B[106m")

< ANSI code for bright magenta back

◆ BACK_BRIGHT_GREEN

ANSICode BACK_BRIGHT_GREEN("\x1B[102m")

< ANSI code for bright red back

◆ BACK_BRIGHT_MAGENTA

ANSICode BACK_BRIGHT_MAGENTA("\x1B[105m")

< ANSI code for bright blue back

◆ BACK_BRIGHT_RED

ANSICode BACK_BRIGHT_RED("\x1B[101m")

< ANSI code for bright black back

◆ BACK_BRIGHT_WHITE

ANSICode BACK_BRIGHT_WHITE("\x1B[107m")

< ANSI code for bright cyan back

ANSI code for bright white back

◆ BACK_BRIGHT_YELLOW

ANSICode BACK_BRIGHT_YELLOW("\x1B[103m")

< ANSI code for bright green back

◆ BACK_CYAN

ANSICode BACK_CYAN("\x1B[46m")

< ANSI code for magenta back

◆ BACK_GREEN

ANSICode BACK_GREEN("\x1B[42m")

< ANSI code for red back

◆ BACK_MAGENTA

ANSICode BACK_MAGENTA("\x1B[45m")

< ANSI code for blue back

◆ BACK_RED

ANSICode BACK_RED("\x1B[41m")

< ANSI code for black back

◆ BACK_WHITE

ANSICode BACK_WHITE("\x1B[47m")

< ANSI code for cyan back

◆ BACK_YELLOW

ANSICode BACK_YELLOW("\x1B[43m")

< ANSI code for green back

◆ BLACK

ANSICode BLACK("\x1B[30m")

◆ BLINK

ANSICode BLINK("\x1B[5m")

< ANSI code for underlined text

◆ BLUE

ANSICode BLUE("\x1B[34m")

< ANSI code for yellow text

◆ BOLD

ANSICode BOLD("\x1B[1m")

< ANSI code for plain display

◆ BRIGHT_BLACK

ANSICode BRIGHT_BLACK("\x1B[90m")

< ANSI code for white text

◆ BRIGHT_BLUE

ANSICode BRIGHT_BLUE("\x1B[94m")

< ANSI code for bright yellow text

◆ BRIGHT_CYAN

ANSICode BRIGHT_CYAN("\x1B[96m")

< ANSI code for bright magenta text

◆ BRIGHT_GREEN

ANSICode BRIGHT_GREEN("\x1B[92m")

< ANSI code for bright red text

◆ BRIGHT_MAGENTA

ANSICode BRIGHT_MAGENTA("\x1B[95m")

< ANSI code for bright blue text

◆ BRIGHT_RED

ANSICode BRIGHT_RED("\x1B[91m")

< ANSI code for bright black text

◆ BRIGHT_WHITE

ANSICode BRIGHT_WHITE("\x1B[97m")

< ANSI code for bright cyan text

ANSI code for bright white text

◆ BRIGHT_YELLOW

ANSICode BRIGHT_YELLOW("\x1B[93m")

< ANSI code for bright green text

◆ CYAN

ANSICode CYAN("\x1B[36m")

< ANSI code for magenta text

◆ FAINT

ANSICode FAINT("\x1B[2m")

< ANSI code for bold text

◆ GREEN

ANSICode GREEN("\x1B[32m")

< ANSI code for red text

◆ ITALIC

ANSICode ITALIC("\x1B[3m")

< ANSI code for faint text

◆ MAGENTA

ANSICode MAGENTA("\x1B[35m")

< ANSI code for blue text

◆ PLAIN

ANSICode PLAIN("\x1B[0m")

◆ RAPID_BLINK

ANSICode RAPID_BLINK("\x1B[6m")

< ANSI code for blink text

◆ RED

ANSICode RED("\x1B[31m")

< ANSI code for black text

◆ REVERSE

ANSICode REVERSE("\x1B[7m")

< ANSI code for rapid blink text

ANSI code for reverse mode text

◆ UNDERLINE

ANSICode UNDERLINE("\x1B[4m")

< ANSI code for italic text

◆ WHITE

ANSICode WHITE("\x1B[37m")

< ANSI code for cyan text

◆ YELLOW

ANSICode YELLOW("\x1B[33m")

< ANSI code for green text