EHM DAL 0.2.5
Data abstraction layer for Eastside Hockey Manager
Loading...
Searching...
No Matches
flag_database.h
1#pragma once
2
3
4// Qt headers
5#include <memory>
6#include <vector>
7
8namespace ehm_dal::flags {
9
10class FlagTable;
11enum class FlagIndex : char;
12
14{
15public:
17
18 // Get data
19 static std::shared_ptr<FlagTable> table(const FlagIndex table_id);
20
21 // Initialisation
22 void init();
23
24private:
25 // Tables
26 static std::vector<std::shared_ptr<FlagTable>> table_data_;
27
28 // Initialisation
29 static bool is_initialised_;
30 inline bool isInitialised() { return is_initialised_; }
31};
32
33} // namespace ehm_dal::flags
34
35
Definition: flag_database.h:14