GetArchiveResFromFile

Function Usage

Read and parse historical archive results from the file system. (The definitions in the config file are not involved, and FeatureClustering does not need to be initialized.)

Prototype

APP_ERROR GetArchiveResFromFile(std::string filepath, ArchiveResultSaved &input);

Parameter Description

Parameter

Description

filepath

File path that stores archive files in the local file system

input

Parsed archive file, which is passed as the input parameter by reference

Response Parameters

Data Structure

Description

APP_ERROR

  • 0: reading of the serialized local file completed
  • Other values: reading of the serialized local file failed