9#if defined(__GNUC__) && !defined(__clang__) && !defined(__apple_build_version__)
10# if (__GNUC__ * 100 + __GNUC_MINOR__ * 10) >= 460
11# pragma GCC diagnostic push
12# pragma GCC diagnostic ignored "-Waddress"
14# if (__GNUC__ * 100 + __GNUC_MINOR__ * 10) >= 600
15# pragma GCC diagnostic ignored "-Wnonnull-compare"
18#elif defined(__clang__) || defined(__apple_build_version__)
19# pragma clang diagnostic push
20# pragma clang diagnostic ignored "-Waddress"
29# ifndef WIN32_LEAN_AND_MEAN
30# define WIN32_LEAN_AND_MEAN
34# define SHELL_FONT_USING_WIN32_CONSOLE
131 static std::string
GenerateString(
const std::string &strInput,
int iFlag);
162#ifdef SHELL_FONT_USING_WIN32_CONSOLE
177 template <
typename Ty>
212#if defined(__GNUC__) && !defined(__clang__) && !defined(__apple_build_version__)
213# if (__GNUC__ * 100 + __GNUC_MINOR__ * 10) >= 460
214# pragma GCC diagnostic pop
216#elif defined(__clang__) || defined(__apple_build_version__)
217# pragma clang diagnostic pop
static std::string GetStyleCloseCode()
std::string GenerateString(const std::string &strInput)
std::string GetStyleCode()
shell_stream_opr & operator=(const shell_stream_opr &)
const shell_stream_opr & open(int flag) const
const shell_stream_opr & operator<<(const Ty &v) const
shell_stream_opr operator()() const
@ SHELL_FONT_SPEC_UNDERLINE
@ SHELL_FONT_COLOR_YELLOW
@ SHELL_FONT_COLOR_MAGENTA
shell_font_background_color
@ SHELL_FONT_BACKGROUND_COLOR_BLACK
@ SHELL_FONT_BACKGROUND_COLOR_BLUE
@ SHELL_FONT_BACKGROUND_COLOR_MAGENTA
@ SHELL_FONT_BACKGROUND_COLOR_YELLOW
@ SHELL_FONT_BACKGROUND_COLOR_RED
@ SHELL_FONT_BACKGROUND_COLOR_GREEN
@ SHELL_FONT_BACKGROUND_COLOR_CYAN
@ SHELL_FONT_BACKGROUND_COLOR_WHITE