18#ifndef __VOTCA_TOOLS_COLORS_H
19#define __VOTCA_TOOLS_COLORS_H
42static const char Reset[] = {0x1b,
'[',
'0',
';',
'3',
'9',
'm', 0};
44static const char Black[] = {0x1b,
'[',
'0',
';',
'3',
'0',
'm', 0};
45static const char Red[] = {0x1b,
'[',
'0',
';',
'3',
'1',
'm', 0};
46static const char Green[] = {0x1b,
'[',
'0',
';',
'3',
'2',
'm', 0};
47static const char Yellow[] = {0x1b,
'[',
'0',
';',
'3',
'3',
'm', 0};
48static const char Blue[] = {0x1b,
'[',
'0',
';',
'3',
'4',
'm', 0};
49static const char Magenta[] = {0x1b,
'[',
'0',
';',
'3',
'5',
'm', 0};
50static const char Cyan[] = {0x1b,
'[',
'0',
';',
'3',
'6',
'm', 0};
51static const char White[] = {0x1b,
'[',
'0',
';',
'3',
'7',
'm', 0};
53static const char BoldBlack[] = {0x1b,
'[',
'1',
';',
'3',
'0',
'm', 0};
54static const char BoldRed[] = {0x1b,
'[',
'1',
';',
'3',
'1',
'm', 0};
55static const char BoldGreen[] = {0x1b,
'[',
'1',
';',
'3',
'2',
'm', 0};
56static const char BoldYellow[] = {0x1b,
'[',
'1',
';',
'3',
'3',
'm', 0};
57static const char BoldBlue[] = {0x1b,
'[',
'1',
';',
'3',
'4',
'm', 0};
58static const char BoldMagenta[] = {0x1b,
'[',
'1',
';',
'3',
'5',
'm', 0};
59static const char BoldCyan[] = {0x1b,
'[',
'1',
';',
'3',
'6',
'm', 0};
60static const char BoldWhite[] = {0x1b,
'[',
'1',
';',
'3',
'7',
'm', 0};
66 virtual const char *
reset()
const = 0;
67 virtual const char *
black()
const = 0;
68 virtual const char *
red()
const = 0;
69 virtual const char *
green()
const = 0;
70 virtual const char *
yellow()
const = 0;
71 virtual const char *
blue()
const = 0;
73 virtual const char *
cyan()
const = 0;
74 virtual const char *
white()
const = 0;
79 virtual const char *
Reset()
const = 0;
80 virtual const char *
Black()
const = 0;
81 virtual const char *
Red()
const = 0;
82 virtual const char *
Green()
const = 0;
83 virtual const char *
Yellow()
const = 0;
84 virtual const char *
Blue()
const = 0;
86 virtual const char *
Cyan()
const = 0;
87 virtual const char *
White()
const = 0;
91template <
typename TColorScheme>
96 const char *
Reset()
const {
return cs_.reset(); }
97 const char *
Black()
const {
return cs_.black(); }
98 const char *
Red()
const {
return cs_.red(); }
99 const char *
Green()
const {
return cs_.green(); }
101 const char *
Blue()
const {
return cs_.blue(); }
103 const char *
Cyan()
const {
return cs_.cyan(); }
base class for all analysis tools