LoadConfiguration
Function Usage
Reads configuration file data.
Prototype
1 | APP_ERROR ConfigUtil::LoadConfiguration(const std::string &config, ConfigData &data, ConfigMode mode = CONFIGJSON); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
config |
Input |
Configuration file path. |
data |
Output |
Obtains parameter data from the configuration file. |
mode |
Input |
File type. For details, see ConfigMode. |
Response Parameters
Data Structure |
Calculation Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: ConfigUtil