GetFileValueWarn

Function Usage

The function does not return any error code based on GetFileValue.

Prototype

template<typename T> void ConfigData::GetFileValueWarn(const std::string &key, T &value);
template<typename T> void ConfigData::GetFileValueWarn(const std::string &key, T &value, const T &min, const T &max);

Parameter Description

Parameter

Input/Output

Description

key

Input

Keywords

value

Output

Value of a keyword

min

Input

Minimum value. If the value is less than the minimum value, the minimum value is used.

max

Input

Maximum value. If the value is greater than the maximum value, the maximum value is used.

Return Parameter Description

Data Structure

Calculation Description

void

No return value.