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

Implements the AsapIndexManager class for managing ASAP index files in ASAPCabinetFE. More...

#include "asap_index_manager.h"
#include "log/logging.h"
#include <filesystem>
#include <fstream>
#include <nlohmann/json.hpp>
#include <unordered_map>
+ Include dependency graph for asap_index_manager.cpp:

Typedefs

using json = nlohmann::json
 

Detailed Description

Implements the AsapIndexManager class for managing ASAP index files in ASAPCabinetFE.

This file provides the implementation of the AsapIndexManager class, which loads and saves table data from/to an ASAP index file (asapcab_index.json) using JSON serialization. The manager handles file I/O, validates JSON structure, and supports progress tracking via LoadingProgress. It is configurable via Settings (e.g., indexPath), with potential for future configUI enhancements (e.g., custom index paths or formatting).