namespace ehm_dal::tables
More...
|
| concept | ColumnData |
| | The GameTable class is a template sub-class of Table and is intended for use as a database table.
|
| |
|
| enum class | TableIndex : char {
SAVED_GAME_TABLE = -2
, NO_TABLE = -1
, GAME_BASIC_DATA = 0
, DATABASE_HEADER
,
CONTINENTS
, NATIONS
, CITIES
, STATES
,
ARENAS
, COLOURS
, CLUBS
, AFFILIATIONS
,
RETIRED_NUMBERS
, STAFF
, STAFF_PREFERENCES
, NON_PLAYER_DATA
,
PLAYER_DATA
, STAFF_HISTORY
, CLUB_COMPETITIONS
, CLUB_COMPETITION_HISTORY
,
STAFF_AWARDS
, STAFF_AWARD_HISTORY
, OFFICIALS
, FIRST_NAMES
,
SECOND_NAMES
, INJURIES
, CURRENCIES
, STAGE_NAMES
,
DRAFT_HISTORY
, DRAFTS
, PLAYER_RIGHTS
, CLUB_HISTORY
,
CLUB_RECORDS
, PLAYER_INFO
, STAFF_INFO
, COMP_BASIC_RULES
,
RULING_BODIES
, TRANSFER_RULES
, FINANCE_INFO
, CONTRACT_DETAILS
,
SCHEDULE_TEMPLATES
, CLUB_NAME_HISTORY
, GAME_EXTRA_DATA
} |
| | The TableIndex enum represents the id number of each table within the database. More...
|
| |
| enum class | TableType : unsigned char {
STANDARD_TABLE
, TABLE_HEADER
, TABLE_WITH_NO_TABLE_ID
, TABLE_WITH_NO_HEADER
,
BITMASK_FLAG_TABLE
, FLAG_TABLE
} |
| | The TableType enum denotes different types of database table. More...
|
| |
◆ TableIndex
The TableIndex enum represents the id number of each table within the database.
TableIndex is used by variety of classes in order to access a specific database table. The index values are used to distinguish between tables in EHM DAL. The values are disinct from any table id used internally by EHM.
| Enumerator |
|---|
| SAVED_GAME_TABLE | saved game table
|
| NO_TABLE | no table
|
| GAME_BASIC_DATA | game basic data
|
| DATABASE_HEADER | database header
|
| CONTINENTS | continents
|
| NATIONS | nations
|
| CITIES | cities
|
| STATES | states
|
| ARENAS | arenas
|
| COLOURS | colours
|
| CLUBS | clubs
|
| AFFILIATIONS | affiliations
|
| RETIRED_NUMBERS | retired numbers
|
| STAFF | staff (i.e. players & non-players)
|
| STAFF_PREFERENCES | staff preferences
|
| NON_PLAYER_DATA | non-player attributes
|
| PLAYER_DATA | player attributes
|
| STAFF_HISTORY | player career history
|
| CLUB_COMPETITIONS | club competitions
|
| CLUB_COMPETITION_HISTORY | club competition history
|
| STAFF_AWARDS | staff awards
|
| STAFF_AWARD_HISTORY | staff award history
|
| OFFICIALS | officials
|
| FIRST_NAMES | first names (i.e. forenames)
|
| SECOND_NAMES | second names (i.e. surnames)
|
| INJURIES | injuries
|
| CURRENCIES | currencies
|
| STAGE_NAMES | stage names
|
| DRAFT_HISTORY | draft history (i.e. drafted players)
|
| DRAFTS | drafts
|
| PLAYER_RIGHTS | player rights
|
| CLUB_HISTORY | club history
|
| CLUB_RECORDS | club records
|
| PLAYER_INFO | player stats
|
| STAFF_INFO | staff info (i.e. players & non-players)
|
| COMP_BASIC_RULES | playable league structures and rules
|
| RULING_BODIES | ruling bodies
|
| TRANSFER_RULES | transfer/trade rules
|
| FINANCE_INFO | financial settings
|
| CONTRACT_DETAILS | staff extended contract details
|
| SCHEDULE_TEMPLATES | schedule templates
|
| CLUB_NAME_HISTORY | club name history
|
| GAME_EXTRA_DATA | game extra data
|
◆ TableType
The TableType enum denotes different types of database table.
| Enumerator |
|---|
| STANDARD_TABLE | standard table
|
| TABLE_HEADER | table header
|
| TABLE_WITH_NO_TABLE_ID | table with no EHM table id
|
| TABLE_WITH_NO_HEADER | table with no record count or EHM table id
|
| BITMASK_FLAG_TABLE | table containing ehm_dal::flags::Flag data (bitmask format)
|
| FLAG_TABLE | table containing ehm_dal::flags::Flag data (non-bitmask format)
|