aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/text-stream.hxx
blob: 4e14d196420ce6e569af61182c765242a47e902c (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/text-stream.hxx
// copyright : Copyright (c) 2005-2015 Code Synthesis Tools CC
// license   : GNU GPL v2; see accompanying LICENSE file

#ifndef ODB_SQLITE_TEXT_STREAM_HXX
#define ODB_SQLITE_TEXT_STREAM_HXX

#include <odb/pre.hxx>

#include <odb/sqlite/text.hxx>
#include <odb/sqlite/stream.hxx>

namespace odb
{
  namespace sqlite
  {
    class text_stream: public stream
    {
    public:
      text_stream (const text& 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_TEXT_STREAM_HXX