diff options
author | tomsmeding <hallo@tomsmeding.nl> | 2015-05-22 21:13:51 +0200 |
---|---|---|
committer | tomsmeding <hallo@tomsmeding.nl> | 2015-05-22 21:13:51 +0200 |
commit | 059a8baa815f0b50d11546ad26b854572ef52182 (patch) | |
tree | 87009b91f388e7a6603c6c409941e371b22d35d3 /enginedata.h | |
parent | 675e8972384e808f2b622922df5e8deef418e165 (diff) |
CreateQuery, InsertQuery, add message in QueryResult
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); |