AddCodeBooksByPath

API definition

APP_ERROR AddCodeBooksByPath(const std::string& codeBooksPath);

Function

Loads a codebook the current index through the codebook path.

Input

const std::string& codeBooksPath: path of a codebook file.

Output

N/A

Return value

APP_ERROR: return status. For details, see Return Code Reference.

Restrictions

Ensure that the directory where codeBooksPath is located exists and the running user has the read permission on the directory. For security hardening, the directory level cannot contain soft links.