Enriches table data with metadata in ASAPCabinetFE. More...
#include <vpin_scanner.h>
Static Public Member Functions | |
static void | scanFiles (std::vector< TableData > &tables, LoadingProgress *progress) |
Enriches table data with metadata from vpxtool_index.json and VPSDB. | |
Enriches table data with metadata in ASAPCabinetFE.
This class provides static methods to match TableData objects by extracting metadata from a vpxtool_index.json file and optionally a VPSDB database. It includes utility methods for cleaning strings and safely extracting JSON values. The matchmaking process updates fields like tableName, tableAuthor, and romName, tracks progress with LoadingProgress, and can be configured via Settings, with potential for configUI enhancements (e.g., custom metadata sources).
|
static |
Enriches table data with metadata from vpxtool_index.json and VPSDB.
Processes the provided tables vector by matching entries with metadata from vpxtool_index.json (located at settings.VPXTablesPath + vpxtoolIndex) and optionally matchmaking further with VPSDB data if enabled. Updates fields like tableName, tableAuthor, and title, and tracks progress via LoadingProgress, including numNoMatch for unmatched tables. The method is configurable via Settings and supports future configUI customization.
settings | The application settings controlling the matchmaking process. |
tables | Reference to the vector of TableData to match. |
progress | Optional pointer to LoadingProgress for real-time updates. |