backends/empty/blob.cpp
Go to the documentation of this file.
1 //
2 // Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
6 //
7 
8 #define SOCI_EMPTY_SOURCE
9 #include "soci-empty.h"
10 
11 #ifdef _MSC_VER
12 #pragma warning(disable:4355)
13 #endif
14 
15 using namespace soci;
16 using namespace soci::details;
17 
18 
20  : session_(session)
21 {
22  // ...
23 }
24 
26 {
27  // ...
28 }
29 
31 {
32  // ...
33  return 0;
34 }
35 
37  std::size_t /* offset */, char * /* buf */, std::size_t /* toRead */)
38 {
39  // ...
40  return 0;
41 }
42 
44  std::size_t /* offset */, char const * /* buf */,
45  std::size_t /* toWrite */)
46 {
47  // ...
48  return 0;
49 }
50 
52  char const * /* buf */, std::size_t /* toWrite */)
53 {
54  // ...
55  return 0;
56 }
57 
58 void empty_blob_backend::trim(std::size_t /* newLen */)
59 {
60  // ...
61 }
std::size_t read(std::size_t offset, char *buf, std::size_t toRead)
void trim(std::size_t newLen)
std::size_t write(std::size_t offset, char const *buf, std::size_t toWrite)
empty_blob_backend(empty_session_backend &session)
std::size_t append(char const *buf, std::size_t toWrite)


asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:40