ASAPCabinetFE
 
Loading...
Searching...
No Matches
file_scanner.h
Go to the documentation of this file.
1
13#ifndef FILE_SCANNER_H
14#define FILE_SCANNER_H
15
16#include "table_data.h"
17#include "config/settings.h"
19#include <vector>
20#include <fstream>
21
22namespace fs = std::filesystem;
23
34public:
49 static std::vector<TableData> scan(const Settings& settings, LoadingProgress* progress = nullptr,
50 const std::vector<TableData>* existingTables = nullptr);
51private:
52 static const std::vector<std::string> MANUFACTURERS_LOWERCASE;
53};
54
55#endif // FILE_SCANNER_H
Scans VPX table files and constructs TableData objects.
Definition file_scanner.h:33
static std::vector< TableData > scan(const Settings &settings, LoadingProgress *progress=nullptr, const std::vector< TableData > *existingTables=nullptr)
Scans the VPX tables directory and returns a list of tables.
Definition file_scanner.cpp:29
Defines the LoadingProgress struct for tracking loading state in ASAPCabinetFE.
Tracks the loading progress state for ASAPCabinetFE.
Definition loading_progress.h:33
Definition settings.h:12
Defines the TableData struct for storing VPX table metadata and media paths.