|
Solution46
|
デバッグクラスヘッダファイル [詳解]
#include <CStreamOut.h>

クラス | |
| class | LibCommon::CDebug |
| デバッグクラス [詳解] | |
名前空間 | |
| LibCommon | |
| 共通ライブラリ名前空間 | |
マクロ定義 | |
| #define | DebugInstance() LibCommon::CDebug::GetInstance() |
| インスタンス取得マクロ [詳解] | |
| #define | DebugChar(...) DebugInstance().OutputChar(__VA_ARGS__) |
| 1文字出力マクロ [詳解] | |
| #define | DebugString(...) DebugInstance().OutputString(__VA_ARGS__) |
| 文字列出力マクロ [詳解] | |
| #define | DebugFormat(...) DebugInstance().OutputFormat(__VA_ARGS__) |
| 書式設定文字列出力マクロ [詳解] | |
| #define | DebugNewLine() DebugInstance().OutputNewLine() |
| 改行出力マクロ [詳解] | |
| #define | DebugLineString(...) DebugInstance().OutputLineString(__VA_ARGS__) |
| 文字列行出力マクロ [詳解] | |
| #define | DebugLineFormat(...) DebugInstance().OutputLineFormat(__VA_ARGS__) |
| 書式設定文字列行出力マクロ [詳解] | |
| #define | DebugExLineFormat(...) DebugInstance().ExOutputLineFormat(__VA_ARGS__) |
| 拡張書式設定文字列行出力マクロ [詳解] | |
| #define | DebugNoIndent(...) DebugInstance().ExOutputLineFormat(true,false,__VA_ARGS__) |
| インデントなし書式設定文字列行出力マクロ [詳解] | |
| #define | DebugLine(...) DebugInstance().ExOutputLineFormat(false,false,__VA_ARGS__) |
| ヘッダインデントなし書式設定文字列行出力マクロ [詳解] | |
| #define | DebugFunction() DebugLineFormat(L"%s()",__FUNCTIONW__) |
| 関数マクロ [詳解] | |
| #define | DebugIndent() DebugInstance().Indent() |
| インデントマクロ [詳解] | |
| #define | DebugUnindent() DebugInstance().Unindent() |
| アンインデントマクロ [詳解] | |
| #define | DebugBlockIn(...) DebugLineFormat(__VA_ARGS__);DebugIndent() |
| ブロック開始マクロ [詳解] | |
| #define | DebugBlockOut(...) DebugUnindent();DebugLineFormat(__VA_ARGS__) |
| ブロック終了マクロ [詳解] | |
| #define | DebugHeader() DebugBlockIn (L"%s() {", __FUNCTIONW__) |
| 関数ヘッダマクロ [詳解] | |
| #define | DebugFooter() DebugBlockOut(L"} // %s()",__FUNCTIONW__) |
| 関数フッタマクロ [詳解] | |
デバッグクラスヘッダファイル
デバッグクラスヘッダファイルです。
CDebug.h に定義があります。
| #define DebugInstance | ( | ) | LibCommon::CDebug::GetInstance() |
| #define DebugChar | ( | ... | ) | DebugInstance().OutputChar(__VA_ARGS__) |
| #define DebugString | ( | ... | ) | DebugInstance().OutputString(__VA_ARGS__) |
| #define DebugFormat | ( | ... | ) | DebugInstance().OutputFormat(__VA_ARGS__) |
| #define DebugNewLine | ( | ) | DebugInstance().OutputNewLine() |
| #define DebugLineString | ( | ... | ) | DebugInstance().OutputLineString(__VA_ARGS__) |
| #define DebugLineFormat | ( | ... | ) | DebugInstance().OutputLineFormat(__VA_ARGS__) |
| #define DebugExLineFormat | ( | ... | ) | DebugInstance().ExOutputLineFormat(__VA_ARGS__) |
| #define DebugNoIndent | ( | ... | ) | DebugInstance().ExOutputLineFormat(true,false,__VA_ARGS__) |
| #define DebugLine | ( | ... | ) | DebugInstance().ExOutputLineFormat(false,false,__VA_ARGS__) |
| #define DebugFunction | ( | ) | DebugLineFormat(L"%s()",__FUNCTIONW__) |
| #define DebugIndent | ( | ) | DebugInstance().Indent() |
| #define DebugUnindent | ( | ) | DebugInstance().Unindent() |
| #define DebugBlockIn | ( | ... | ) | DebugLineFormat(__VA_ARGS__);DebugIndent() |
| #define DebugBlockOut | ( | ... | ) | DebugUnindent();DebugLineFormat(__VA_ARGS__) |
| #define DebugHeader | ( | ) | DebugBlockIn (L"%s() {", __FUNCTIONW__) |
| #define DebugFooter | ( | ) | DebugBlockOut(L"} // %s()",__FUNCTIONW__) |