|
Theolizer
Version.1.2.0
serializer for C++ / Do you want to update your classes easily ?
|
クラス | |
| class | theolizer::PrepareDir |
| テスト用フォルダの準備 [詳解] | |
| class | theolizer::ThreadGuard |
| スレッド・オブジェクト [詳解] | |
マクロ定義 | |
| #define | THEOLIZER_EQUAL(dLhs, ...) |
| #define | THEOLIZER_EQUAL_PTR(dLhs, dRhs) |
| #define | THEOLIZER_CHECK(dJudge, ...) |
| #define | THEOLIZER_REQUIRE(dJudge, ...) |
| #define | THEOLIZER_CHECK_EXCEPTION(dStatements, dException) |
| #define | THEOLIZER_REQUIRE_EXCEPTION(dStatements, dException) |
| #define | THEOLIZER_CHECK_EXCEPTION2(dStatement, dException, dJudge, dResult) |
| #define | THEOLIZER_REQUIRE_EXCEPTION2(dStatement, dException, dJudge, dResult) |
関数 | |
| THEOLIZER_INTERNAL_DLL std::ostream & | operator<< (std::ostream &iOStream, char iChar) |
| THEOLIZER_INTERNAL_DLL std::ostream & | operator<< (std::ostream &iOStream, signed char iSChar) |
| THEOLIZER_INTERNAL_DLL std::ostream & | operator<< (std::ostream &iOStream, unsigned char iUChar) |
| template<typename tEnum , THEOLIZER_INTERNAL_OVERLOAD((std::is_enum< tEnum >::value)) > | |
| std::ostream & | operator<< (std::ostream &iOStream, tEnum iEnum) |
| THEOLIZER_INTERNAL_DLL std::ostream & | operator<< (std::ostream &iOStream, std::type_info const &) |
| template<typename tReleaser > | |
| internal::ScopeExit< tReleaser > | theolizer::makeScopeExit (tReleaser &&iReleaser) noexcept |
| theolizer::DisplayPass::DisplayPass () | |
| static bool | theolizer::DisplayPass::on () |
| void | theolizer::cutOptimize () |
| MinGW不具合対処 [詳解] | |
| THEOLIZER_INTERNAL_DLL void | theolizer::initResult () |
| THEOLIZER_INTERNAL_DLL void | theolizer::incrementFailCount () |
| THEOLIZER_INTERNAL_DLL bool | theolizer::printResult (char const *iTitle=nullptr) |
| theolizer::PrepareDir::PrepareDir (std::string const &iDirPath, bool iIsNoDelete=false) | |
| theolizer::PrepareDir::~PrepareDir () | |
| THEOLIZER_INTERNAL_DLL void | theolizer::removeFile (u8string const &iFilePath) |
| ファイルの削除 [詳解] | |
| THEOLIZER_INTERNAL_DLL std::vector< std::string > | theolizer::getFileList (std::string const &iDirPath, std::string const &iRegex="") |
| ファイル・リスト獲得 [詳解] | |
| THEOLIZER_INTERNAL_DLL void | theolizer::setWritePermission (const u8string &iPath, bool iIsEnable) |
| アクセス許可設定 [詳解] | |
| theolizer::ThreadGuard::ThreadGuard () noexcept | |
| template<class Fn , class... Args> | |
| theolizer::ThreadGuard::ThreadGuard (Fn &&fn, Args &&... args) | |
| theolizer::ThreadGuard::ThreadGuard (const ThreadGuard &)=delete | |
| theolizer::ThreadGuard::ThreadGuard (ThreadGuard &&iThread) noexcept | |
| ThreadGuard & | theolizer::ThreadGuard::operator= (ThreadGuard &&iTheread) |
| theolizer::ThreadGuard::~ThreadGuard () | |
| std::string const & | theolizer::ThreadGuard::getThreadId () |
| #define THEOLIZER_CHECK | ( | dJudge, | |
| ... | |||
| ) |
結果がtrueになることをテストする。
test_tool.h の 574 行目に定義があります。
| #define THEOLIZER_CHECK_EXCEPTION | ( | dStatements, | |
| dException | |||
| ) |
例外が発生することをチェックする(Fail時、処理継続)
test_tool.h の 603 行目に定義があります。
| #define THEOLIZER_CHECK_EXCEPTION2 | ( | dStatement, | |
| dException, | |||
| dJudge, | |||
| dResult | |||
| ) |
例外が発生することをチェックする(Fail時、処理継続)
test_tool.h の 648 行目に定義があります。
| #define THEOLIZER_EQUAL | ( | dLhs, | |
| ... | |||
| ) |
値が一致することをテストする。(ポインタ以外)
test_tool.h の 527 行目に定義があります。
| #define THEOLIZER_EQUAL_PTR | ( | dLhs, | |
| dRhs | |||
| ) |
ポインタの値が一致することをテストする。
test_tool.h の 552 行目に定義があります。
| #define THEOLIZER_REQUIRE | ( | dJudge, | |
| ... | |||
| ) |
結果がtrueになることをテストする。(Fail時、以降の処理を中断する)
test_tool.h の 588 行目に定義があります。
| #define THEOLIZER_REQUIRE_EXCEPTION | ( | dStatements, | |
| dException | |||
| ) |
例外が発生することをチェックする(Fail時、処理中断)
test_tool.h の 625 行目に定義があります。
| #define THEOLIZER_REQUIRE_EXCEPTION2 | ( | dStatement, | |
| dException, | |||
| dJudge, | |||
| dResult | |||
| ) |
例外が発生することをチェックする(Fail時、処理中断)
test_tool.h の 671 行目に定義があります。
|
inline |
|
explicit |
デフォルト・コンストラクタ
| THEOLIZER_INTERNAL_DLL std::vector<std::string> theolizer::getFileList | ( | std::string const & | iDirPath, |
| std::string const & | iRegex = "" |
||
| ) |
ファイル・リスト獲得
指定フォルダ内のファイル(フォルダ除く)のリストを返却する。
ファイル名(拡張子含む)が正規表現iRegexとマッチするもののみ。
iRegex=""の時は全て返却。
リスト取得後、std:sort()でソートして返却する。
注意事項
正規表現のマッチング処理はstd::wregexとregex_matchにより実装。
MSVC 2015とMinGW 4.9.2は、サロゲートペアに非対応なので注意。
|
inline |
スレッドID返却
test_tool.h の 385 行目に定義があります。
| THEOLIZER_INTERNAL_DLL void theolizer::incrementFailCount | ( | ) |
テスト結果のFAIL数をインクリメントする
| THEOLIZER_INTERNAL_DLL void theolizer::initResult | ( | ) |
テスト集計初期化
|
noexcept |
ScopeExitファクトリ
test_tool.h の 186 行目に定義があります。
|
static |
PASS結果表示の状態を返却する
| THEOLIZER_INTERNAL_DLL std::ostream& operator<< | ( | std::ostream & | iOStream, |
| char | iChar | ||
| ) |
char型を数値として出力する
| THEOLIZER_INTERNAL_DLL std::ostream& operator<< | ( | std::ostream & | iOStream, |
| signed char | iSChar | ||
| ) |
signed char型を数値として出力する
| THEOLIZER_INTERNAL_DLL std::ostream& operator<< | ( | std::ostream & | iOStream, |
| unsigned char | iUChar | ||
| ) |
unsgined char型を数値として出力する
| std::ostream& operator<< | ( | std::ostream & | iOStream, |
| tEnum | iEnum | ||
| ) |
scoped enum型表示補助
test_tool.h の 90 行目に定義があります。
| THEOLIZER_INTERNAL_DLL std::ostream& operator<< | ( | std::ostream & | iOStream, |
| std::type_info const & | |||
| ) |
type_info型を型名へ変換して表示する
|
inline |
ムーブ演算子
test_tool.h の 372 行目に定義があります。
| theolizer::PrepareDir::PrepareDir | ( | std::string const & | iDirPath, |
| bool | iIsNoDelete = false |
||
| ) |
コンストラクタ
| THEOLIZER_INTERNAL_DLL bool theolizer::printResult | ( | char const * | iTitle = nullptr | ) |
テスト結果を表示する
| THEOLIZER_INTERNAL_DLL void theolizer::removeFile | ( | u8string const & | iFilePath | ) |
ファイルの削除
指定ファイルが無くても正常終了する。 iFilePathがフォルダの場合何もしない。
| THEOLIZER_INTERNAL_DLL void theolizer::setWritePermission | ( | const u8string & | iPath, |
| bool | iIsEnable | ||
| ) |
アクセス許可設定
ownerの書き込み許可をセット/クリアする
|
inlinenoexcept |
デフォルト・コンストラクタ
test_tool.h の 347 行目に定義があります。
|
inline |
汎用コンストラクタ
test_tool.h の 355 行目に定義があります。
|
delete |
コピー禁止
|
inlinenoexcept |
ムーブ可
test_tool.h の 365 行目に定義があります。
| theolizer::PrepareDir::~PrepareDir | ( | ) |
デストラクタ
|
inline |
デストラクタ
test_tool.h の 381 行目に定義があります。