The Battle for Wesnoth  1.15.3+dev
rs_base.hpp
Go to the documentation of this file.
1 /*
2  Part of the Battle for Wesnoth Project https://www.wesnoth.org/
3 
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or
7  (at your option) any later version.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY.
10 
11  See the COPYING file for more details.
12 */
13 
14 #pragma once
15 
16 #include "mariadb++/result_set.hpp"
17 
18 class rs_base
19 {
20  public:
21  rs_base(){}
22  virtual ~rs_base(){}
23  virtual void read(mariadb::result_set_ref rslt) =0;
24 };
std::shared_ptr< result_set > result_set_ref
Definition: result_set.hpp:219
virtual void read(mariadb::result_set_ref rslt)=0
virtual ~rs_base()
Definition: rs_base.hpp:22
rs_base()
Definition: rs_base.hpp:21