LiteSQL
types.hpp
Go to the documentation of this file.
1 /* LiteSQL
2  *
3  * The list of contributors at http://litesql.sf.net/
4  *
5  * See LICENSE for copyright information. */
6 #ifndef _litesql_types_hpp
7 #define _litesql_types_hpp
8 
12 #include <vector>
13 #include <string>
14 
15 namespace litesql
16 {
17 class Database;
19 class Record : public std::vector<std::string>
20 {
21 public:
22  Record() : std::vector<std::string>() {}
23  Record(size_t reserved) { reserve(reserved); }
24 };
26 typedef std::vector<Record> Records;
27 
28 }
29 
30 #endif
litesql::Record
SQL data row wrapper.
Definition: types.hpp:20
litesql::Records
std::vector< Record > Records
shortcut
Definition: types.hpp:26

SourceForge.net Logo