|
EHM DAL 0.2.5
Data abstraction layer for Eastside Hockey Manager
|

Public Types | |
| enum | ENUM_FLAGS { MAX_NO_AWARD_BONUSES = 5 } |
Public Member Functions | |
| AwardBonus (const AwardBonus &other) | |
| AwardBonus (AwardBonus &&other) | |
| bool | read (QDataStream &in, ehm_dal::database::DatabaseVersion &version) override |
Reads a table row from the QDataStream. | |
| bool | write (QDataStream &out, ehm_dal::database::DatabaseVersion &version) override |
Writes a table row to the QDataStream. | |
| bool | init () override |
| Initialises the table item members. This only needs to be called once per item. | |
| AwardBonus & | operator= (AwardBonus rhs) |
| auto | operator<=> (const AwardBonus &rhs) const |
| bool | operator< (const AwardBonus &rhs) const |
Public Member Functions inherited from ehm_dal::schema::AbstractTableItem | |
| AbstractTableItem () | |
| Default constructor. | |
| virtual | ~AbstractTableItem () |
| Default destructor. | |
| virtual bool | read (QDataStream &in, ehm_dal::database::DatabaseVersion &version) |
Reads a table row from the QDataStream. | |
| virtual bool | write (QDataStream &out, ehm_dal::database::DatabaseVersion &version) |
Writes a table row to the QDataStream. | |
| virtual bool | init ()=0 |
| Initialises the table item members. This only needs to be called once per item. | |
Additional Inherited Members | |
Protected Member Functions inherited from ehm_dal::schema::AbstractTableItem | |
| virtual bool | deletable () const |
| template<IntegralNumber T> | |
| QVariant | fromHexVector (const std::vector< T > &raw_data, const qint32 role) const |
| QVariant | fromValue (const QVariant &value, const qint32 role) const |
Returns a value as a QVariant if the role is Qt::DisplayRole or Qt::EditRole. A blank QVariant is returned if another role is selected. | |
|
overridevirtual |
Initialises the table item members. This only needs to be called once per item.
true if members were initialised or false if nothing requires initialising. Implements ehm_dal::schema::AbstractTableItem.
|
overridevirtual |
Reads a table row from the QDataStream.
| in | QDataStream to be parsed |
| version | EHM database version |
Reimplemented from ehm_dal::schema::AbstractTableItem.
|
overridevirtual |
Writes a table row to the QDataStream.
| out | QDataStream to be output to |
| version | EHM database version |
Reimplemented from ehm_dal::schema::AbstractTableItem.