Public メソッド | Static Public メソッド | Static Public 変数 | Private 変数 | フレンド

クラス 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.h22 行で定義されています。


コンストラクタとデストラクタ

osl::record::Color::Color (  )  [inline]

kanjiPrint.h25 行で定義されています。

osl::record::Color::Color ( const std::string &  value,
const std::string &  name,
const bool  valid = true 
)

kanjiPrint.cc60 行で定義されています。

osl::record::Color::~Color (  ) 

kanjiPrint.cc64 行で定義されています。


関数

const osl::record::Color osl::record::Color::colorFor ( const std::string &  str  )  [static]

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

kanjiPrint.cc40 行で定義されています。

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

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

kanjiPrint.h34 行で定義されています。

参照先 name.

bool osl::record::Color::isValid (  )  const [inline]

kanjiPrint.h33 行で定義されています。

参照先 valid.

参照元 osl::record::ChangeShellColor::escColReSet(), と osl::record::ChangeShellColor::escColSet().

bool osl::record::Color::operator!= ( const Color rhs  )  const [inline]

kanjiPrint.h40 行で定義されています。

bool osl::record::Color::operator== ( const Color rhs  )  const [inline]

kanjiPrint.h35 行で定義されています。

参照先 valid, と value.


フレンドと関連する関数

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

変数

kanjiPrint.h53 行で定義されています。

参照元 colorFor().

kanjiPrint.h57 行で定義されています。

参照元 colorFor().

kanjiPrint.h56 行で定義されています。

参照元 colorFor().

kanjiPrint.h59 行で定義されています。

参照元 colorFor().

kanjiPrint.h61 行で定義されています。

参照元 colorFor().

kanjiPrint.h55 行で定義されています。

参照元 colorFor().

kanjiPrint.h65 行で定義されています。

参照元 colorFor().

kanjiPrint.h67 行で定義されています。

参照元 colorFor().

kanjiPrint.h60 行で定義されています。

参照元 colorFor().

kanjiPrint.h63 行で定義されています。

参照元 colorFor().

kanjiPrint.h66 行で定義されています。

参照元 colorFor().

kanjiPrint.h62 行で定義されています。

参照元 colorFor().

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

kanjiPrint.h30 行で定義されています。

参照元 getName().

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

kanjiPrint.h52 行で定義されています。

参照元 colorFor().

kanjiPrint.h58 行で定義されています。

参照元 colorFor().

kanjiPrint.h54 行で定義されています。

参照元 colorFor().

bool osl::record::Color::valid [private]

kanjiPrint.h31 行で定義されています。

参照元 isValid(), と operator==().

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

kanjiPrint.h29 行で定義されています。

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

kanjiPrint.h68 行で定義されています。

参照元 colorFor().

kanjiPrint.h64 行で定義されています。

参照元 colorFor().


このクラスの説明は次のファイルから生成されました:
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義