EHM DAL 0.2.3
Data abstraction layer for Eastside Hockey Manager
|
The DatabaseVersion class represents the database version number. More...
#include <database_version.h>
Public Types | |
enum | ENUM_VERSION_FLAGS { NO_VERSION = -1 , NO_MINIMUM_VERSION = NO_VERSION , EHM_1033 = 1033 } |
The ENUM_VERSION_FLAGS enum sets out default database version numbers. More... | |
Public Member Functions | |
DatabaseVersion (const qint16 version_number=NO_VERSION) | |
void | printDiagnosticData () const |
Prints diagnostic data to the console. | |
qint16 | version () const |
Returns the database version number. | |
void | setVersion (const qint16 version_number) |
Sets the database version number to version_number | |
auto | operator<=> (const qint16 rhs) const |
bool | operator== (const qint16 rhs) const |
The DatabaseVersion class represents the database version number.
The ENUM_VERSION_FLAGS enum sets out default database version numbers.
Enumerator | |
---|---|
NO_VERSION | No version number set |
NO_MINIMUM_VERSION | Minimum supported database version |
EHM_1033 | Database version 1033 |
|
inline |
Sets the database version number to version_number
version_number |