SOCI Logo Get SOCI at SourceForge.net. Fast, secure and Free Open Source software downloads

blob.cpp

Go to the documentation of this file.
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_blob_backend::empty_blob_backend(empty_session_backend &session)
00020     : session_(session)
00021 {
00022     // ...
00023 }
00024 
00025 empty_blob_backend::~empty_blob_backend()
00026 {
00027     // ...
00028 }
00029 
00030 std::size_t empty_blob_backend::get_len()
00031 {
00032     // ...
00033     return 0;
00034 }
00035 
00036 std::size_t empty_blob_backend::read(
00037     std::size_t /* offset */, char * /* buf */, std::size_t /* toRead */)
00038 {
00039     // ...
00040     return 0;
00041 }
00042 
00043 std::size_t empty_blob_backend::write(
00044     std::size_t /* offset */, char const * /* buf */,
00045     std::size_t /* toWrite */)
00046 {
00047     // ...
00048     return 0;
00049 }
00050 
00051 std::size_t empty_blob_backend::append(
00052     char const * /* buf */, std::size_t /* toWrite */)
00053 {
00054     // ...
00055     return 0;
00056 }
00057 
00058 void empty_blob_backend::trim(std::size_t /* newLen */)
00059 {
00060     // ...
00061 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
SourceForge Logo

Generated on Sun Oct 3 2010 17:42:16 for EXTRAS-SOCI by Doxygen 1.7.1