GetFileValueWarn
Function Usage
Does not return any error code based on GetFileValue.
Prototype
1 | template<typename T> void ConfigData::GetFileValueWarn(const std::string &key, T &value) const; |
1 | template<typename T> void ConfigData::GetFileValueWarn(const std::string &key, T &value, const T &min, const T &max) const; |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
key |
Input |
Keyword |
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. |
Parent topic: ConfigData