00001 // 00002 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton 00003 // Distributed under the Boost Software License, Version 1.0. 00004 // (See accompanying file LICENSE_1_0.txt or copy at 00005 // http://www.boost.org/LICENSE_1_0.txt) 00006 // 00007 00008 #define SOCI_EMPTY_SOURCE 00009 #include "soci-empty.h" 00010 00011 #ifdef _MSC_VER 00012 #pragma warning(disable:4355) 00013 #endif 00014 00015 using namespace soci; 00016 using namespace soci::details; 00017 00018 00019 empty_session_backend::empty_session_backend( 00020 std::string const & /* connectString */) 00021 { 00022 // ... 00023 } 00024 00025 empty_session_backend::~empty_session_backend() 00026 { 00027 clean_up(); 00028 } 00029 00030 void empty_session_backend::begin() 00031 { 00032 // ... 00033 } 00034 00035 void empty_session_backend::commit() 00036 { 00037 // ... 00038 } 00039 00040 void empty_session_backend::rollback() 00041 { 00042 // ... 00043 } 00044 00045 void empty_session_backend::clean_up() 00046 { 00047 // ... 00048 } 00049 00050 empty_statement_backend * empty_session_backend::make_statement_backend() 00051 { 00052 return new empty_statement_backend(*this); 00053 } 00054 00055 empty_rowid_backend * empty_session_backend::make_rowid_backend() 00056 { 00057 return new empty_rowid_backend(*this); 00058 } 00059 00060 empty_blob_backend * empty_session_backend::make_blob_backend() 00061 { 00062 return new empty_blob_backend(*this); 00063 }
Generated on Sun Oct 3 2010 17:42:16 for EXTRAS-SOCI by Doxygen 1.7.1