ASAPCabinetFE
 
Loading...
Searching...
No Matches
vps_database_scanner.h
1#ifndef VPS_DATABASE_SCANNER_H
2#define VPS_DATABASE_SCANNER_H
3
4#include "tables/table_data.h"
6#include "config/settings.h"
8#include <nlohmann/json.hpp>
9#include <string>
10
20public:
26 VpsDataScanner(const nlohmann::json& vpsDb);
27
40 bool matchMetadata(const nlohmann::json& vpxTable, TableData& tableData, LoadingProgress* progress = nullptr) const;
41
42private:
43 const nlohmann::json& vpsDb_;
44 StringUtils utils_;
45 Settings settings_;
46};
47
48#endif // VPS_DATABASE_SCANNER_H
Utility class for VPS-related string and data processing in ASAPCabinetFE.
Definition string_utils.h:29
Matches VPX table metadata to VPS database entries in ASAPCabinetFE.
Definition vps_database_scanner.h:19
bool matchMetadata(const nlohmann::json &vpxTable, TableData &tableData, LoadingProgress *progress=nullptr) const
Matches a VPX table's metadata to a VPS database entry.
Definition vps_database_scanner.cpp:15
Defines the LoadingProgress struct for tracking loading state in ASAPCabinetFE.
Defines the StringUtils class for utility functions in ASAPCabinetFE.
Tracks the loading progress state for ASAPCabinetFE.
Definition loading_progress.h:33
Definition settings.h:12
Stores metadata and media paths for a VPX table.
Definition table_data.h:29
Defines the TableData struct for storing VPX table metadata and media paths.