SetFileValue

Function Usage

Assigns a value based on the input key and saves the data to a file.

Prototype

template<typename T> APP_ERROR ConfigData::SetFileValue(const std::string &key, const T &value);

Parameter Description

Parameter

Input/Output

Description

key

Input

Keywords

value

Input

Value of a keyword

Return Parameter Description

Data Structure

Calculation Description

APP_ERROR

Error code returned during program execution. For details, see the MxBase/ErrorCode/ErrorCode.h file.