From 059a8baa815f0b50d11546ad26b854572ef52182 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Fri, 22 May 2015 21:13:51 +0200 Subject: CreateQuery, InsertQuery, add message in QueryResult --- enginedata.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'enginedata.h') 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 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); -- cgit v1.2.3-54-g00ecf