CfgMgr::Has
Description
Checks whether a parameter exists.
Prototype
uint32_t CfgMgr::Has(const std::string &kParam)
Function Security Level
ASIL-D
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
kParam |
Input |
Key, indicating a parameter name. |
Returns
The return value is of the uint32_t type. If a parameter exists, CFGMGR_SUCCESS is returned. Otherwise, an error code is returned.
Usage
None
Precautions
The key must contain less than 128 bytes.
Parent topic: Configuration Management