Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
soci
src
backends
empty
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
19
empty_blob_backend::empty_blob_backend
(
empty_session_backend
&
session
)
20
: session_(session)
21
{
22
// ...
23
}
24
25
empty_blob_backend::~empty_blob_backend
()
26
{
27
// ...
28
}
29
30
std::size_t
empty_blob_backend::get_len
()
31
{
32
// ...
33
return
0;
34
}
35
36
std::size_t
empty_blob_backend::read
(
37
std::size_t
/* offset */
,
char
*
/* buf */
, std::size_t
/* toRead */
)
38
{
39
// ...
40
return
0;
41
}
42
43
std::size_t
empty_blob_backend::write
(
44
std::size_t
/* offset */
,
char
const
*
/* buf */
,
45
std::size_t
/* toWrite */
)
46
{
47
// ...
48
return
0;
49
}
50
51
std::size_t
empty_blob_backend::append
(
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
}
soci::details
Definition:
db2/common.h:15
soci-empty.h
soci::empty_session_backend
Definition:
soci-empty.h:155
soci::empty_blob_backend::~empty_blob_backend
~empty_blob_backend()
Definition:
backends/empty/blob.cpp:25
soci::empty_blob_backend::read
std::size_t read(std::size_t offset, char *buf, std::size_t toRead)
Definition:
backends/empty/blob.cpp:36
soci::empty_blob_backend::get_len
std::size_t get_len()
Definition:
backends/empty/blob.cpp:30
soci::session
Definition:
session.h:40
soci::empty_blob_backend::trim
void trim(std::size_t newLen)
Definition:
backends/empty/blob.cpp:58
soci::empty_blob_backend::write
std::size_t write(std::size_t offset, char const *buf, std::size_t toWrite)
Definition:
backends/empty/blob.cpp:43
soci::empty_blob_backend::empty_blob_backend
empty_blob_backend(empty_session_backend &session)
Definition:
backends/empty/blob.cpp:19
soci
Definition:
db2/common.h:15
soci::empty_blob_backend::append
std::size_t append(char const *buf, std::size_t toWrite)
Definition:
backends/empty/blob.cpp:51
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