Chi-Tech
stringstream_color.h
Go to the documentation of this file.
1
#ifndef CHITECH_STRINGSTREAM_COLOR_H
2
#define CHITECH_STRINGSTREAM_COLOR_H
3
4
#include <string>
5
6
namespace
chi
7
{
8
enum
StringSteamColorCode
9
{
10
RESET
= 0,
11
FG_BOLD
= 1,
12
FG_UNDERLINE
= 4,
13
FG_BOLD_OFF
= 21,
14
FG_UNDERLINE_OFF
= 24,
15
FG_RED
= 31,
16
FG_GREEN
= 32,
17
FG_YELLOW
= 33,
18
FG_BLUE
= 34,
19
FG_MAGENTA
= 35,
20
FG_CYAN
= 36,
21
FG_WHITE
= 37,
22
FG_DEFAULT
= 39,
23
};
24
25
std::string
StringStreamColor
(
StringSteamColorCode
code);
26
27
}
//chi_objects
28
29
#endif
//CHITECH_STRINGSTREAM_COLOR_H
chi
Definition:
chi_runtime.h:53
chi::StringStreamColor
std::string StringStreamColor(StringSteamColorCode code)
Definition:
stringstream_color.cc:5
chi::StringSteamColorCode
StringSteamColorCode
Definition:
stringstream_color.h:9
chi::FG_RED
@ FG_RED
Definition:
stringstream_color.h:15
chi::FG_BOLD_OFF
@ FG_BOLD_OFF
Definition:
stringstream_color.h:13
chi::FG_MAGENTA
@ FG_MAGENTA
Definition:
stringstream_color.h:19
chi::FG_UNDERLINE_OFF
@ FG_UNDERLINE_OFF
Definition:
stringstream_color.h:14
chi::RESET
@ RESET
Definition:
stringstream_color.h:10
chi::FG_DEFAULT
@ FG_DEFAULT
Definition:
stringstream_color.h:22
chi::FG_YELLOW
@ FG_YELLOW
Definition:
stringstream_color.h:17
chi::FG_GREEN
@ FG_GREEN
Definition:
stringstream_color.h:16
chi::FG_CYAN
@ FG_CYAN
Definition:
stringstream_color.h:20
chi::FG_UNDERLINE
@ FG_UNDERLINE
Definition:
stringstream_color.h:12
chi::FG_BOLD
@ FG_BOLD
Definition:
stringstream_color.h:11
chi::FG_BLUE
@ FG_BLUE
Definition:
stringstream_color.h:18
chi::FG_WHITE
@ FG_WHITE
Definition:
stringstream_color.h:21
framework
logging
stringstream_color.h
Generated by
1.9.3