From 9917fcb8386cf74ef52771f9bae6de2088209466 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 29 Apr 2015 20:43:50 +0100 Subject: Centralize all the column reference storage logic --- libmysqlpp/selectcommand.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'libmysqlpp/selectcommand.h') diff --git a/libmysqlpp/selectcommand.h b/libmysqlpp/selectcommand.h index a338599..7ffff54 100644 --- a/libmysqlpp/selectcommand.h +++ b/libmysqlpp/selectcommand.h @@ -2,15 +2,7 @@ #define MY_SELECTCOMMAND_H #include "../libdbpp/selectcommand.h" -#include "../libdbpp/column.h" #include "command.h" -#include -#include -#include -#include -#include -#include -#include namespace MySQL { class Connection; @@ -21,21 +13,10 @@ namespace MySQL { bool fetch(); void execute(); - const DB::Column& operator[](unsigned int) const; - const DB::Column& operator[](const Glib::ustring&) const; - unsigned int columnCount() const; - unsigned int getOrdinal(const Glib::ustring&) const; private: bool executed; Binds fields; - typedef boost::multi_index_container, boost::multi_index::indexed_by< - boost::multi_index::ordered_unique>, - boost::multi_index::ordered_unique> - >> Columns; - Columns columns; - - friend class ColumnBase; }; } -- cgit v1.2.3