4#include "include/tables/table_index.h"
5#include "include/tables/table_type.h"
20 quint32 readTableHeader(QDataStream &in);
21 bool writeTableHeader(QDataStream &out);
39 inline QString
name()
const {
return name_; }
42 bool isDatabaseTable()
const;
43 bool isFlagBitmaskTable()
const;
44 bool isFlagStandardTable()
const;
45 bool isFlagTable()
const;
53 static constexpr qint16 NO_TABLE_ID{-1};
56 qint64 file_position_{-1};
57 quint32 record_count_{0};
61 qint16 game_table_id_{NO_TABLE_ID};
Definition: table_attributes.h:13
QString name() const
Returns the name of the table.
Definition: table_attributes.h:39
TableIndex id() const
Returns the id of the table. The id used to distinguish between tables in EHM DAL....
Definition: table_attributes.h:34
TableType type() const
Returns the type of the table.
Definition: table_attributes.h:50
qint16 gameTableId() const
Returns the internal EHM table id of the table.
Definition: table_attributes.h:28
namespace ehm_dal::tables
Definition: column.h:4
TableType
The TableType enum denotes different types of database table.
Definition: table_type.h:12
TableIndex
The TableIndex enum represents the id number of each table within the database.
Definition: table_index.h:14