1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00

Added the file structure for the SQLite database wrappers.

This commit is contained in:
Sandu Liviu Catalin 2015-11-01 10:16:49 +02:00
parent dd2473eff1
commit acb0512d43
10 changed files with 367 additions and 0 deletions

View File

View File

@ -0,0 +1,115 @@
#ifndef _LIBRARY_SQLITE_COMMON_HPP_
#define _LIBRARY_SQLITE_COMMON_HPP_
// ------------------------------------------------------------------------------------------------
namespace SqMod {
namespace SQLite {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class ConnectionHandle
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
ConnectionHandle();
/* --------------------------------------------------------------------------------------------
* ...
*/
ConnectionHandle(const ConnectionHandle & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
ConnectionHandle(ConnectionHandle && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
~ConnectionHandle();
/* --------------------------------------------------------------------------------------------
* ...
*/
ConnectionHandle & operator = (const ConnectionHandle & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
ConnectionHandle & operator = (ConnectionHandle && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
protected:
// --------------------------------------------------------------------------------------------
private:
// --------------------------------------------------------------------------------------------
};
/* ------------------------------------------------------------------------------------------------
* ...
*/
class StatementHandle
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
StatementHandle();
/* --------------------------------------------------------------------------------------------
* ...
*/
StatementHandle(const StatementHandle & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
StatementHandle(StatementHandle && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
~StatementHandle();
/* --------------------------------------------------------------------------------------------
* ...
*/
StatementHandle & operator = (const StatementHandle & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
StatementHandle & operator = (StatementHandle && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
protected:
// --------------------------------------------------------------------------------------------
private:
// --------------------------------------------------------------------------------------------
};
} // Namespace:: SQLite
} // Namespace:: SqMod
#endif // _LIBRARY_SQLITE_COMMON_HPP_

View File

View File

@ -0,0 +1,63 @@
#ifndef _LIBRARY_SQLITE_CONNECTION_HPP_
#define _LIBRARY_SQLITE_CONNECTION_HPP_
// ------------------------------------------------------------------------------------------------
namespace SqMod {
namespace SQLite {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class Connection
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
Connection();
/* --------------------------------------------------------------------------------------------
* ...
*/
Connection(const Connection & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Connection(Connection && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
~Connection();
/* --------------------------------------------------------------------------------------------
* ...
*/
Connection & operator = (const Connection & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Connection & operator = (Connection && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
protected:
// --------------------------------------------------------------------------------------------
private:
// --------------------------------------------------------------------------------------------
};
} // Namespace:: SQLite
} // Namespace:: SqMod
#endif // _LIBRARY_SQLITE_CONNECTION_HPP_

View File

View File

@ -0,0 +1,63 @@
#ifndef _LIBRARY_SQLITE_RESULT_HPP_
#define _LIBRARY_SQLITE_RESULT_HPP_
// ------------------------------------------------------------------------------------------------
namespace SqMod {
namespace SQLite {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class Result
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
Result();
/* --------------------------------------------------------------------------------------------
* ...
*/
Result(const Result & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Result(Result && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
~Result();
/* --------------------------------------------------------------------------------------------
* ...
*/
Result & operator = (const Result & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Result & operator = (Result && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
protected:
// --------------------------------------------------------------------------------------------
private:
// --------------------------------------------------------------------------------------------
};
} // Namespace:: SQLite
} // Namespace:: SqMod
#endif // _LIBRARY_SQLITE_RESULT_HPP_

View File

View File

@ -0,0 +1,63 @@
#ifndef _LIBRARY_SQLITE_STATEMENT_HPP_
#define _LIBRARY_SQLITE_STATEMENT_HPP_
// ------------------------------------------------------------------------------------------------
namespace SqMod {
namespace SQLite {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class Statement
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
Statement();
/* --------------------------------------------------------------------------------------------
* ...
*/
Statement(const Statement & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Statement(Statement && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
~Statement();
/* --------------------------------------------------------------------------------------------
* ...
*/
Statement & operator = (const Statement & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Statement & operator = (Statement && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
protected:
// --------------------------------------------------------------------------------------------
private:
// --------------------------------------------------------------------------------------------
};
} // Namespace:: SQLite
} // Namespace:: SqMod
#endif // _LIBRARY_SQLITE_STATEMENT_HPP_

View File

View File

@ -0,0 +1,63 @@
#ifndef _LIBRARY_SQLITE_TRANSACTION_HPP_
#define _LIBRARY_SQLITE_TRANSACTION_HPP_
// ------------------------------------------------------------------------------------------------
namespace SqMod {
namespace SQLite {
/* ------------------------------------------------------------------------------------------------
* ...
*/
class Transaction
{
public:
/* --------------------------------------------------------------------------------------------
* ...
*/
Transaction();
/* --------------------------------------------------------------------------------------------
* ...
*/
Transaction(const Transaction & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Transaction(Transaction && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
~Transaction();
/* --------------------------------------------------------------------------------------------
* ...
*/
Transaction & operator = (const Transaction & o);
/* --------------------------------------------------------------------------------------------
* ...
*/
Transaction & operator = (Transaction && o);
/* --------------------------------------------------------------------------------------------
* ...
*/
protected:
// --------------------------------------------------------------------------------------------
private:
// --------------------------------------------------------------------------------------------
};
} // Namespace:: SQLite
} // Namespace:: SqMod
#endif // _LIBRARY_SQLITE_TRANSACTION_HPP_