libpqxx
7.7.0
|
Input stream that gets its data from 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_ilostream (dbtransaction &t, largeobject o, largeobject::size_type buf_size=512) | |
Create a basic_ilostream. More... | |
basic_ilostream (dbtransaction &t, oid o, largeobject::size_type buf_size=512) | |
Create a basic_ilostream. More... | |
Input stream that gets its data from a large object.
This class worked like any other istream, but to read data from a large object. It supported all formatting and streaming operations of std::istream
.
This functionality was considered too fragile and complex, so it has been replaced with a single, much simpler class.
using pqxx::basic_ilostream< CHAR, TRAITS >::char_type = CHAR |
using pqxx::basic_ilostream< CHAR, TRAITS >::int_type = typename traits_type::int_type |
using pqxx::basic_ilostream< CHAR, TRAITS >::off_type = typename traits_type::off_type |
using pqxx::basic_ilostream< CHAR, TRAITS >::pos_type = typename traits_type::pos_type |
using pqxx::basic_ilostream< CHAR, TRAITS >::traits_type = TRAITS |
pqxx::basic_ilostream< CHAR, TRAITS >::basic_ilostream | ( | dbtransaction & | t, |
largeobject | o, | ||
largeobject::size_type | buf_size = 512 |
||
) |
Create a basic_ilostream.
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_ilostream< CHAR, TRAITS >::basic_ilostream | ( | dbtransaction & | t, |
oid | o, | ||
largeobject::size_type | buf_size = 512 |
||
) |
Create a basic_ilostream.
t | Transaction in which this stream is to exist. |
o | Identifier of a large object to access. |
buf_size | Size of buffer to use internally (optional). |