EHM DAL 0.2.5
Data abstraction layer for Eastside Hockey Manager
Loading...
Searching...
No Matches
schedule_dates_container.h
1#pragma once
2
3// Application headers
4#include "include/container/container.h"
5#include "include/database/schema/comp_basic_rules/comp_stage/schedule_date.h"
6#include "include/database/schema/comp_basic_rules/comp_stage/stage_type.h"
7
8namespace ehm_dal::container {
9
10// --- Schedule dates container --- //
11class ScheduleDatesContainer : public Container<ehm_dal::schema::ScheduleDate, quint16>
12{
13public:
14 // Constructor
16
17 // File I/O
18 using Container::read;
19 using Container::write;
20 bool read(QDataStream &in,
22 const ehm_dal::flags::StageType &stage_type);
23 bool read(QDataStream &in,
25 const ehm_dal::flags::StageType &stage_type,
26 const qint32 count);
27 bool write(QDataStream &out,
29 const ehm_dal::flags::StageType &stage_type);
30 bool write(QDataStream &out,
32 const ehm_dal::flags::StageType &stage_type,
33 const qint32 count);
34};
35} // namespace ehm_dal::container
The Container class is a representation of vector in the EHM database which is written to the databas...
Definition: container.h:20
Definition: schedule_dates_container.h:12
The DatabaseVersion class represents the database version number.
Definition: database_version.h:12
Definition: stage_type.h:8