5 Copyright 2012 myun2, Roast+ Project http://sourceforge.jp/projects/roast/
7 Distributed under the Roast+ License
8 See: http://sourceforge.jp/projects/roast/wiki/License
10 ----------------------------------------------------------------------
14 #ifndef __SFJP_ROAST_db__nitro__driver_HPP__
15 #define __SFJP_ROAST_db__nitro__driver_HPP__
18 #include "roast/db/nitro/constants.hpp"
19 #include "roast/db/nitro/variables.hpp"
25 ///////////////////////////////////////////////////
27 template <typename TableType>
33 static const int file = 0;
34 static const int memory = 1;
39 ::std::string m_table_name;
41 constants m_constants;
42 variables m_variables;
44 driver(int type) : m_type(type) {} // no-name of table name (for memory table)
45 driver(int type, const char* table_name) : m_type(type), m_table_name(table_name) {}
49 int append(const TableType& data){}
50 TableType read(int id){}
52 bool update(int id, const TableType& data){}
69 ///////////////////////////////////////////////////
73 #endif//__SFJP_ROAST_db__nitro__driver_HPP__