//  // //  #### # # # -= SQLiteX =-  // // # # ## ## Database.h  // //  ## # ###  // //  ## # ### SQLite database representation  // //  # # ## ##  // // #### ##### # # R1 (C)2005 Markus Ewald -> License.txt  // //  // #ifndef SQLITEX_DATABASE_H #define SQLITEX_DATABASE_H #include "SQLiteX/SQLiteX.h" #include namespace SQLiteX { class Transaction; class Query; //  // //  SQLiteX::Database  // //  // /// Database /** Represents an open sqlite database on which SQL statements can be executed */ class Database { public: /// Constructor SQLITEX_API Database(const std::string &sFilename); // // Database implementation // public: /// Execute some SQL statements directly SQLITEX_API void execute(const std::string &sStatements); /// Execute an SQL query directly SQLITEX_API void execute(Query &TheQuery); /// Execute a series of SQL queries SQLITEX_API void execute(Transaction &TheTransaction); private: /// Copy constructor Database(const Database &); /// Copy assignment operator void operator =(const Database &); /// The counted SQLite database keeper SharedSQLite3 m_SQLiteDB; }; } // namespace SQLiteX #endif // SQLITEX_DATABASE_H