クラス osl::record::Color

カラーコードを保持するクラス。 [詳細]

#include <kanjiPrint.h>

osl::record::Colorのコラボレーション図
Collaboration graph
[凡例]

すべてのメンバ一覧

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]

文字列に対応するColor objectを返す

kanjiPrint.cc の 43 行で定義されています。

参照先 Black, Blue, Brown, caseInsentiveCompare(), Cyan, DarkGray, getName(), Green, LightBlue, LightCyan, LightGray, LightGreen, LightPurple, LightRed, NONE, Purple, Red, White, と Yellow.

const std::string& osl::record::Color::getName (  )  const [inline]

kanjiPrint.h の 35 行で定義されています。

参照先 name.

参照元 colorFor().

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 行で定義されています。

参照先 valid, と value.


フレンドと関連する関数

std::ostream& operator<< ( std::ostream &  os,
const Color &  c 
) [friend]

変数

kanjiPrint.h の 54 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 58 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 57 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 60 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 62 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 56 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 66 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 68 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 61 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 64 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 67 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 63 行で定義されています。

参照元 colorFor().

std::string osl::record::Color::name [private]

kanjiPrint.h の 31 行で定義されています。

参照元 getName().

色指定しない(デフォルトのまま)ことを示す特別なオブジェクト

kanjiPrint.h の 53 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 59 行で定義されています。

参照元 colorFor().

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 行で定義されています。

参照元 osl::record::operator<<(), と operator==().

kanjiPrint.h の 69 行で定義されています。

参照元 colorFor().

kanjiPrint.h の 65 行で定義されています。

参照元 colorFor().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義
Sun May 16 09:58:45 2010に生成されました。  doxygen 1.6.3