Main Page
Namespaces
Classes
Files
File List
File Members
libism
ISM
soci
src
backends
odbc
backends/odbc/blob.cpp
Go to the documentation of this file.
1
//
2
// Copyright (C) 2004-2006 Maciej Sobczak, Stephen Hutton, David Courtney
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_ODBC_SOURCE
9
#include "
soci-odbc.h
"
10
11
using namespace
soci
;
12
using namespace
soci::details
;
13
14
15
odbc_blob_backend::odbc_blob_backend
(
odbc_session_backend
&
session
)
16
: session_(session)
17
{
18
// ...
19
}
20
21
odbc_blob_backend::~odbc_blob_backend
()
22
{
23
// ...
24
}
25
26
std::size_t
odbc_blob_backend::get_len
()
27
{
28
// ...
29
return
0;
30
}
31
32
std::size_t
odbc_blob_backend::read
(
33
std::size_t
/* offset */
,
char
*
/* buf */
, std::size_t
/* toRead */
)
34
{
35
// ...
36
return
0;
37
}
38
39
std::size_t
odbc_blob_backend::write
(
40
std::size_t
/* offset */
,
char
const
*
/* buf */
,
41
std::size_t
/* toWrite */
)
42
{
43
// ...
44
return
0;
45
}
46
47
std::size_t
odbc_blob_backend::append
(
48
char
const
*
/* buf */
, std::size_t
/* toWrite */
)
49
{
50
// ...
51
return
0;
52
}
53
54
void
odbc_blob_backend::trim
(std::size_t
/* newLen */
)
55
{
56
// ...
57
}
soci::odbc_blob_backend::write
virtual std::size_t write(std::size_t offset, char const *buf, std::size_t toWrite)
Definition:
backends/odbc/blob.cpp:39
soci::odbc_blob_backend::get_len
virtual std::size_t get_len()
Definition:
backends/odbc/blob.cpp:26
soci::details
Definition:
db2/common.h:15
soci::odbc_blob_backend::trim
virtual void trim(std::size_t newLen)
Definition:
backends/odbc/blob.cpp:54
soci::odbc_blob_backend::~odbc_blob_backend
~odbc_blob_backend()
Definition:
backends/odbc/blob.cpp:21
soci::session
Definition:
session.h:40
soci::odbc_blob_backend::read
virtual std::size_t read(std::size_t offset, char *buf, std::size_t toRead)
Definition:
backends/odbc/blob.cpp:32
soci::odbc_session_backend
Definition:
soci-odbc.h:269
soci-odbc.h
soci
Definition:
db2/common.h:15
soci::odbc_blob_backend::odbc_blob_backend
odbc_blob_backend(odbc_session_backend &session)
Definition:
backends/odbc/blob.cpp:15
soci::odbc_blob_backend::append
virtual std::size_t append(char const *buf, std::size_t toWrite)
Definition:
backends/odbc/blob.cpp:47
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