QwAnalysis
|
#include <map>
#include <cstdio>
#include <iostream>
Go to the source code of this file.
Data Structures | |
class | QwColor |
A color changing class for the output stream. More... | |
Namespaces | |
Qw | |
Macros | |
#define | BLACK "\033[30m" |
#define | RED "\033[31m" |
#define | GREEN "\033[32m" |
#define | BROWN "\033[33m" |
#define | BLUE "\033[34m" |
#define | MAGENTA "\033[35m" |
#define | CYAN "\033[36m" |
#define | WHITE "\033[37m" |
#define | BOLD "\033[1m" |
#define | BOLDRED "\033[31;1m" |
#define | BOLDGREEN "\033[32;1m" |
#define | BOLDBROWN "\033[33;1m" |
#define | BOLDBLUE "\033[34;1m" |
#define | BOLDMAGENTA "\033[35;1m" |
#define | BOLDCYAN "\033[36;1m" |
#define | BOLDWHITE "\033[37;1m" |
#define | BACKRED "\033[41m" |
#define | BACKGREEN "\033[42m" |
#define | BACKBLUE "\033[44m" |
#define | NORMAL "\033[0m" |
Typedefs | |
typedef std::map< Qw::EQwColor, std::string > | QwColorMap |
Functions | |
std::ostream & | operator<< (std::ostream &out, const QwColor &color) |
Output stream operator which uses the enum-to-escape-code mapping. More... | |
#define BACKBLUE "\033[44m" |
Definition at line 57 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BACKGREEN "\033[42m" |
Definition at line 56 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BACKRED "\033[41m" |
Definition at line 55 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BLACK "\033[30m" |
Definition at line 28 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BLUE "\033[34m" |
Definition at line 32 of file QwColor.h.
Referenced by QwColor::CreateColorMap(), and QwDatabase::PrintServerInfo().
#define BOLD "\033[1m" |
Definition at line 37 of file QwColor.h.
Referenced by QwColor::CreateColorMap(), and QwDatabase::PrintServerInfo().
#define BOLDBLUE "\033[34;1m" |
Definition at line 50 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BOLDBROWN "\033[33;1m" |
Definition at line 49 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BOLDCYAN "\033[36;1m" |
Definition at line 52 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BOLDGREEN "\033[32;1m" |
Definition at line 48 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BOLDMAGENTA "\033[35;1m" |
Definition at line 51 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BOLDRED "\033[31;1m" |
Definition at line 47 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BOLDWHITE "\033[37;1m" |
Definition at line 53 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define BROWN "\033[33m" |
Definition at line 31 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define CYAN "\033[36m" |
Definition at line 34 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define GREEN "\033[32m" |
Definition at line 30 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define MAGENTA "\033[35m" |
Definition at line 33 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
#define NORMAL "\033[0m" |
Definition at line 61 of file QwColor.h.
Referenced by QwColor::CreateColorMap(), and QwDatabase::PrintServerInfo().
#define RED "\033[31m" |
Definition at line 29 of file QwColor.h.
Referenced by QwColor::CreateColorMap(), and QwDatabase::PrintServerInfo().
#define WHITE "\033[37m" |
Definition at line 35 of file QwColor.h.
Referenced by QwColor::CreateColorMap().
typedef std::map<Qw::EQwColor, std::string> QwColorMap |
|
inline |
Output stream operator which uses the enum-to-escape-code mapping.
Output stream operator.
Definition at line 153 of file QwColor.h.
References QwColor::foreground, and QwColor::kColorMap.