|
libpqxx
7.3.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.
Use this class exactly as you would any other ostream to write data to a large object. All formatting and streaming operations of std::ostream are supported. What you'll typically want to use, however, is the olostream alias (which defines a basic_olostream for char). This is similar to how e.g. std::ofstream is related to std::basic_ofstream.
Currently only works for <char, std::char_traits<char>>.
| 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). |
| 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). |
| pqxx::basic_olostream< CHAR, TRAITS >::~basic_olostream | ( | ) |