cvedia::rt::ConfigCheckResults¶
Public Functions¶
| Name | |
|---|---|
| ~ConfigCheckResults() | |
| void | addFinding(ConfigCheckFinding finding) |
| void | clear() |
| size_t | warningCount() |
| size_t | errorCount() |
| size_t | findingCount() |
| std::string | prepareReport() |
| bool | warningFound() |
| bool | errorFound() |
| void | checkMissingKeys(STRVECT configKeys, STRVECT groundTruthKeys, std::string pluginName, std::string configBasePath, FindingSeverity severity =FindingSeverity::warning) |
| void | checkDanglingKeys(STRVECT configKeys, STRVECT groundTruthKeys, std::string pluginName, std::string configBasePath, FindingSeverity severity =FindingSeverity::error) |
| template <typename T > void |
checkValueExists(const ConfigCheckMeta & meta) |
| template <typename T > void |
checkValue(const ConfigCheckMeta & meta, bool(*)(T) checkingFunc) |
| template <typename T > void |
checkValue(const ConfigCheckMeta & meta, bool(*)(T, T) checkingFunc, T param1) |
| template <typename T > void |
checkValue(const ConfigCheckMeta & meta, bool(*)(T, T, T) checkingFunc, T param1, T param2) |
| template <typename T > void |
checkValue(const ConfigCheckMeta & meta, bool(*)(T, T, T, T) checkingFunc, T param1, T param2, T param3) |
Public Functions Documentation¶
function ~ConfigCheckResults¶
~ConfigCheckResults()
function addFinding¶
void addFinding(
ConfigCheckFinding finding
)
function clear¶
void clear()
function warningCount¶
size_t warningCount()
function errorCount¶
size_t errorCount()
function findingCount¶
size_t findingCount()
function prepareReport¶
std::string prepareReport()
function warningFound¶
bool warningFound()
function errorFound¶
bool errorFound()
function checkMissingKeys¶
void checkMissingKeys(
STRVECT configKeys,
STRVECT groundTruthKeys,
std::string pluginName,
std::string configBasePath,
FindingSeverity severity =FindingSeverity::warning
)
function checkDanglingKeys¶
void checkDanglingKeys(
STRVECT configKeys,
STRVECT groundTruthKeys,
std::string pluginName,
std::string configBasePath,
FindingSeverity severity =FindingSeverity::error
)
function checkValueExists¶
template <typename T >
void checkValueExists(
const ConfigCheckMeta & meta
)
function checkValue¶
template <typename T >
void checkValue(
const ConfigCheckMeta & meta,
bool(*)(T) checkingFunc
)
function checkValue¶
template <typename T >
void checkValue(
const ConfigCheckMeta & meta,
bool(*)(T, T) checkingFunc,
T param1
)
function checkValue¶
template <typename T >
void checkValue(
const ConfigCheckMeta & meta,
bool(*)(T, T, T) checkingFunc,
T param1,
T param2
)
function checkValue¶
template <typename T >
void checkValue(
const ConfigCheckMeta & meta,
bool(*)(T, T, T, T) checkingFunc,
T param1,
T param2,
T param3
)