EHM DAL 0.2.5
Data abstraction layer for Eastside Hockey Manager
Loading...
Searching...
No Matches
extra_rule_data.h
1#pragma once
2
3// Application headers
4#include "include/container/container.h"
5#include "include/database/extra_rules/extra_rule.h"
6/*namespace ehm_dal::database {
7class DatabaseVersion;
8}*/
9
10// Qt headers
11//class QDataStream;
12class QVariant;
13//#include <QtGlobal>
14//#include <memory>
15
16namespace ehm_dal::ehm_extra_rules {
17
18// --- Extra rule container --- //
20 : public ehm_dal::container::Container<ehm_dal::ehm_extra_rules::ExtraRule, quint8>
21{
22public:
25 /*
26 // File i/o
27 bool read(QDataStream &in, ehm_dal::database::DatabaseVersion &version);
28 bool write(QDataStream &out, ehm_dal::database::DatabaseVersion &version);
29*/
30 // Get data
31 QVariant data(const qint32 role) const;
32 //qint32 rowCount() const;
33 /*
34private:
35 struct Data;
36 std::unique_ptr<Data> data_;*/
37};
38} // namespace ehm_dal::ehm_extra_rules
39
The Container class is a representation of vector in the EHM database which is written to the databas...
Definition: container.h:20
Definition: extra_rule_data.h:21