blob: 30befbc1c0bb573f7a7219333a4698fac47f8c75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
// file : odb/sqlite/blob-stream.hxx
// copyright : Copyright (c) 2005-2017 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
#ifndef ODB_SQLITE_BLOB_STREAM_HXX
#define ODB_SQLITE_BLOB_STREAM_HXX
#include <odb/pre.hxx>
#include <odb/sqlite/blob.hxx>
#include <odb/sqlite/stream.hxx>
namespace odb
{
namespace sqlite
{
class blob_stream: public stream
{
public:
blob_stream (const blob& b, bool rw)
: stream (b.db ().c_str (),
b.table ().c_str (),
b.column ().c_str (),
b.rowid (),
rw) {}
};
}
}
#include <odb/post.hxx>
#endif // ODB_SQLITE_BLOB_STREAM_HXX
|