iutest  1.17.1.0
公開メンバ関数 | 静的公開メンバ関数 | 全メンバ一覧
iutest::TestProperty クラス

テストプロパティ [詳解]

#include <iutest_result.hpp>

公開メンバ関数

 TestProperty (const ::std::string &key, const ::std::string &value)
 コンストラクタ [詳解]
 
void SetValue (const ::std::string &value)
 値の設定
 
bool Validate (const char **ban_list, size_t size) const
 有効なキーかどうかチェック [詳解]
 

静的公開メンバ関数

template<typename Ite >
static bool ValidateName (const ::std::string &name, Ite begin, Ite end)
 有効なキーかどうかチェック [詳解]
 
template<typename T , size_t N>
static bool ValidateName (const ::std::string &name, T(&ar)[N])
 

詳解

テストプロパティ

覚え書き
XML 属性

構築子と解体子

◆ TestProperty()

iutest::TestProperty::TestProperty ( const ::std::string &  key,
const ::std::string &  value 
)
inline

コンストラクタ

引数
[in]key= キー
[in]value= 値

関数詳解

◆ Validate()

bool iutest::TestProperty::Validate ( const char **  ban_list,
size_t  size 
) const
inline

有効なキーかどうかチェック

戻り値
true=有効
false=無効
呼び出し関係図:

◆ ValidateName() [1/2]

template<typename Ite >
static bool iutest::TestProperty::ValidateName ( const ::std::string &  name,
Ite  begin,
Ite  end 
)
inlinestatic

有効なキーかどうかチェック

戻り値
true=有効
false=無効
被呼び出し関係図:

◆ ValidateName() [2/2]

template<typename T , size_t N>
static bool iutest::TestProperty::ValidateName ( const ::std::string &  name,
T(&)  ar[N] 
)
inlinestatic

これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。

呼び出し関係図:

このクラス詳解は次のファイルから抽出されました: