Parsing the Matrix Configuration File
Parses the configuration file. The Matrix parses the configuration file and writes the generated graph back to the list for the user. This API is defined in graph.h.
Syntax
static HIAI_StatusT Graph::ParseConfigFile(const std::string& configFile, GraphConfigList& graphConfigList)
Parameter Description
Parameter |
Description |
Value Range |
---|---|---|
configFile |
Configuration file path. Ensure that the transferred file path is correct. |
- |
graphConfigList |
Protobuf data format. |
- |
Return Value
For details about the returned error codes, see "Error Codes."
Error Codes
No. |
Error Level |
Error Code |
Description |
---|---|---|---|
1 |
- |
HIAI_GRAPH_GET_INSTANCE_NULL |
- |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot