libpqxx
7.9.0
|
Output stream that writes data back to 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_olostream (dbtransaction &t, largeobject o, largeobject::size_type buf_size=512) | |
Create a basic_olostream. More... | |
basic_olostream (dbtransaction &t, oid o, largeobject::size_type buf_size=512) | |
Create a basic_olostream. More... | |
~basic_olostream () | |
Output stream that writes data back to a large object.
This worked like any other ostream, but to write data to a large object. It supported all formatting and streaming operations of std::ostream
.
This functionality was considered too fragile and complex, so it has been replaced with a single, much simpler class.
using pqxx::basic_olostream< CHAR, TRAITS >::char_type = CHAR |
using pqxx::basic_olostream< CHAR, TRAITS >::int_type = typename traits_type::int_type |
using pqxx::basic_olostream< CHAR, TRAITS >::off_type = typename traits_type::off_type |
using pqxx::basic_olostream< CHAR, TRAITS >::pos_type = typename traits_type::pos_type |
using pqxx::basic_olostream< CHAR, TRAITS >::traits_type = TRAITS |
pqxx::basic_olostream< CHAR, TRAITS >::basic_olostream | ( | dbtransaction & | t, |
largeobject | o, | ||
largeobject::size_type | buf_size = 512 |
||
) |
Create a basic_olostream.
t | transaction in which this stream is to exist. |
o | a large object to access. |
buf_size | size of buffer to use internally (optional). |
References pqxx::binary.
pqxx::basic_olostream< CHAR, TRAITS >::basic_olostream | ( | dbtransaction & | t, |
oid | o, | ||
largeobject::size_type | buf_size = 512 |
||
) |
Create a basic_olostream.
t | transaction in which this stream is to exist. |
o | a large object to access. |
buf_size | size of buffer to use internally (optional). |
References pqxx::binary.
pqxx::basic_olostream< CHAR, TRAITS >::~basic_olostream | ( | ) |