diff options
Diffstat (limited to 'enginedata.h')
-rw-r--r-- | enginedata.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/enginedata.h b/enginedata.h index 9cf0b53..2b7ca96 100644 --- a/enginedata.h +++ b/enginedata.h @@ -32,6 +32,7 @@ struct Row{ const Table *table; //pointer to the parent table; don't delete! RowItem *items; + Row(void); Row(const int _nc,const Table *const _t); ~Row(void); Row(Row &&other); //move constr @@ -46,13 +47,10 @@ struct Table{ ColHeader *header; map<string,Row> rows; //map key is serialised version of the first column - Table(const string &_n,const int _nc,const ColHeader *const _hd); + Table(const string &_n,const int _nc,const ColHeader *const _hd); //copies from _hd, so you can freely delete or edit the passed colheader array ~Table(void); Table(const Table &other); Table(Table &&other); - - bool insert(Row &&row); - bool insert(Row &row); }; string serialise(const ColHeader &header,const RowItem &rowitem); |