カラーコードを保持するクラス。 [詳細]
#include <kanjiPrint.h>

Public メソッド | |
| Color () | |
| Color (const std::string &value, const std::string &name, const bool valid=true) | |
| ~Color () | |
| bool | isValid () const |
| const std::string & | getName () const |
| bool | operator== (const Color &rhs) const |
| bool | operator!= (const Color &rhs) const |
Static Public メソッド | |
| static const Color | colorFor (const std::string &str) |
| 文字列に対応するColor objectを返す | |
Static Public 変数 | |
| static const Color | NONE |
| 色指定しない(デフォルトのまま)ことを示す特別なオブジェクト | |
| static const Color | Black |
| static const Color | Red |
| static const Color | Green |
| static const Color | Brown |
| static const Color | Blue |
| static const Color | Purple |
| static const Color | Cyan |
| static const Color | LightGray |
| static const Color | DarkGray |
| static const Color | LightRed |
| static const Color | LightGreen |
| static const Color | Yellow |
| static const Color | LightBlue |
| static const Color | LightPurple |
| static const Color | LightCyan |
| static const Color | White |
Private 変数 | |
| std::string | value |
| std::string | name |
| bool | valid |
フレンド | |
| std::ostream & | operator<< (std::ostream &os, const Color &c) |
カラーコードを保持するクラス。
kanjiPrint.h の 23 行で定義されています。
| osl::record::Color::Color | ( | ) | [inline] |
kanjiPrint.h の 26 行で定義されています。
| osl::record::Color::Color | ( | const std::string & | value, | |
| const std::string & | name, | |||
| const bool | valid = true | |||
| ) |
kanjiPrint.cc の 64 行で定義されています。
| osl::record::Color::~Color | ( | ) |
kanjiPrint.cc の 68 行で定義されています。
| const osl::record::Color osl::record::Color::colorFor | ( | const std::string & | str | ) | [static] |
| const std::string& osl::record::Color::getName | ( | ) | const [inline] |
| bool osl::record::Color::isValid | ( | ) | const [inline] |
kanjiPrint.h の 34 行で定義されています。
参照先 valid.
参照元 osl::record::ChangeShellColor::escColReSet(), と osl::record::ChangeShellColor::escColSet().
| bool osl::record::Color::operator!= | ( | const Color & | rhs | ) | const [inline] |
kanjiPrint.h の 41 行で定義されています。
| bool osl::record::Color::operator== | ( | const Color & | rhs | ) | const [inline] |
kanjiPrint.h の 36 行で定義されています。
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Color & | c | |||
| ) | [friend] |
const osl::record::Color osl::record::Color::Black [static] |
kanjiPrint.h の 54 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::Blue [static] |
kanjiPrint.h の 58 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::Brown [static] |
kanjiPrint.h の 57 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::Cyan [static] |
kanjiPrint.h の 60 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::DarkGray [static] |
kanjiPrint.h の 62 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::Green [static] |
kanjiPrint.h の 56 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::LightBlue [static] |
kanjiPrint.h の 66 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::LightCyan [static] |
kanjiPrint.h の 68 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::LightGray [static] |
kanjiPrint.h の 61 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::LightGreen [static] |
kanjiPrint.h の 64 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::LightPurple [static] |
kanjiPrint.h の 67 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::LightRed [static] |
kanjiPrint.h の 63 行で定義されています。
参照元 colorFor().
std::string osl::record::Color::name [private] |
kanjiPrint.h の 31 行で定義されています。
参照元 getName().
const osl::record::Color osl::record::Color::NONE [static] |
const osl::record::Color osl::record::Color::Purple [static] |
kanjiPrint.h の 59 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::Red [static] |
kanjiPrint.h の 55 行で定義されています。
参照元 colorFor().
bool osl::record::Color::valid [private] |
kanjiPrint.h の 32 行で定義されています。
参照元 isValid(), と operator==().
std::string osl::record::Color::value [private] |
kanjiPrint.h の 30 行で定義されています。
const osl::record::Color osl::record::Color::White [static] |
kanjiPrint.h の 69 行で定義されています。
参照元 colorFor().
const osl::record::Color osl::record::Color::Yellow [static] |
kanjiPrint.h の 65 行で定義されています。
参照元 colorFor().
1.6.3