EHM DAL 0.2.5
Data abstraction layer for Eastside Hockey Manager
|
Public Member Functions | |
DeadlineDate (const DeadlineDate &other) | |
DeadlineDate (DeadlineDate &&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 . | |
qint32 | index () const |
bool | init () override |
Initialises the table item members. This only needs to be called once per item. | |
DeadlineDate & | operator= (DeadlineDate rhs) |
auto | operator<=> (const DeadlineDate &rhs) const |
bool | operator< (const DeadlineDate &rhs) const |
![]() | |
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 | |
![]() | |
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. | |
|
inlineoverridevirtual |
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.