libpqxx
7.7.0
|
Stream that reads and writes a large object. More...
#include <largeobject.hxx>
Public Types | |
using | char_type = CHAR |
using | traits_type = TRAITS |
using | int_type = typename traits_type::int_type |
using | pos_type = typename traits_type::pos_type |
using | off_type = typename traits_type::off_type |
Public Member Functions | |
basic_lostream (dbtransaction &t, largeobject o, largeobject::size_type buf_size=512) | |
Create a basic_lostream. More... | |
basic_lostream (dbtransaction &t, oid o, largeobject::size_type buf_size=512) | |
Create a basic_lostream. More... | |
~basic_lostream () | |
Stream that reads and writes a large object.
This worked like a std::iostream, but to read data from, or write data to, a large object. It supported all formatting and streaming operations of std::iostream
.
This functionality was considered too fragile and complex, so it has been replaced with a single, much simpler class.
using pqxx::basic_lostream< CHAR, TRAITS >::char_type = CHAR |
using pqxx::basic_lostream< CHAR, TRAITS >::int_type = typename traits_type::int_type |
using pqxx::basic_lostream< CHAR, TRAITS >::off_type = typename traits_type::off_type |
using pqxx::basic_lostream< CHAR, TRAITS >::pos_type = typename traits_type::pos_type |
using pqxx::basic_lostream< CHAR, TRAITS >::traits_type = TRAITS |
pqxx::basic_lostream< CHAR, TRAITS >::basic_lostream | ( | dbtransaction & | t, |
largeobject | o, | ||
largeobject::size_type | buf_size = 512 |
||
) |
Create a basic_lostream.
t | Transaction in which this stream is to exist. |
o | Large object to access. |
buf_size | Size of buffer to use internally (optional). |
pqxx::basic_lostream< CHAR, TRAITS >::basic_lostream | ( | dbtransaction & | t, |
oid | o, | ||
largeobject::size_type | buf_size = 512 |
||
) |
Create a basic_lostream.
t | Transaction in which this stream is to exist. |
o | Large object to access. |
buf_size | Size of buffer to use internally (optional). |
pqxx::basic_lostream< CHAR, TRAITS >::~basic_lostream | ( | ) |