EHM DAL 0.2.5
Data abstraction layer for Eastside Hockey Manager
|
The Container class is a representation of vector in the EHM database which is written to the database file as a row count (T_ItemCountType
) and data type (T_DataType
).
More...
#include <container.h>
Public Member Functions | |
Container (const quint32 size=0, const bool is_sortable=true) | |
Container (const Container &obj) | |
void | addRows (const qint32 count) |
void | push_back (T_DataType &item) |
void | push_back (T_DataType *item) |
void | clear () |
void | erase (const qint32 first_index_to_delete, const qint32 last_index_to_delete) |
virtual void | read (QDataStream &in, ehm_dal::database::DatabaseVersion &version) |
void | read (QDataStream &in, ehm_dal::database::DatabaseVersion &version, const T_ItemCountType count) |
void | readInto (QDataStream &in, ehm_dal::database::DatabaseVersion &version) |
virtual void | write (QDataStream &out, ehm_dal::database::DatabaseVersion &version) |
void | write (QDataStream &out, ehm_dal::database::DatabaseVersion &version, const T_ItemCountType count) |
bool | isSortable () const |
qint32 | rowCount () const |
T_ItemCountType | size () const |
T_DataType * | item (const T_ItemCountType pos) |
const T_DataType * | itemConst (const T_ItemCountType pos) const |
Container & | operator= (Container rhs) |
Protected Member Functions | |
std::vector< T_DataType > * | data () |
The Container class is a representation of vector in the EHM database which is written to the database file as a row count (T_ItemCountType
) and data type (T_DataType
).