ASAPCabinetFE
 
Loading...
Searching...
No Matches
table_loader.cpp File Reference

Implements the TableLoader class for loading and managing table data in ASAPCabinetFE. More...

#include "table_loader.h"
#include "asap_index_manager.h"
#include "file_scanner.h"
#include "vpin_scanner.h"
#include "vpxtool_scanner.h"
#include "vpinmdb/vpinmdb_client.h"
#include "vpsdb/vps_database_client.h"
#include "table_patcher.h"
#include "log/logging.h"
#include "nlohmann/json.hpp"
#include <algorithm>
#include <cctype>
#include <filesystem>
#include <unordered_map>
#include <future>
+ Include dependency graph for table_loader.cpp:

Detailed Description

Implements the TableLoader class for loading and managing table data in ASAPCabinetFE.

This file provides the implementation of the TableLoader class, which loads table data through a multi-stage process: scanning VPX files, merging with existing index, matching metadata (if enabled), fetching VPSDB (if enabled), saving the index, patching tables, applying overrides, and sorting. It supports incremental updates using AsapIndexManager::mergeTables and progress tracking via LoadingProgress. The process is configurable via Settings (e.g., titleSource, sortBy). If settings.ignoreScanners is true, it skips all scanning and processing, loading only from asapcab_index.json for faster startup.