Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
pqxx::basic_lostream< CHAR, TRAITS > Class Template Reference
Stream that reads and writes a large object.
More...
#include <largeobject.h>
List of all members.
Detailed Description
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
class pqxx::basic_lostream< CHAR, TRAITS >
Stream that reads and writes a large object.
Use this class exactly as you would a std::iostream to read data from, or write data to a large object. All formatting and streaming operations of std::iostream are supported. What you'll typically want to use, however, is the lostream typedef defined below. This is similar to e.g. std::fstream.
Currently only works for <char, std::char_traits<char> >.
Member Typedef Documentation
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
typedef CHAR pqxx::basic_lostream< CHAR, TRAITS >::char_type
|
|
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
typedef traits_type::int_type pqxx::basic_lostream< CHAR, TRAITS >::int_type
|
|
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
typedef traits_type::off_type pqxx::basic_lostream< CHAR, TRAITS >::off_type
|
|
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
typedef traits_type::pos_type pqxx::basic_lostream< CHAR, TRAITS >::pos_type
|
|
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
typedef TRAITS pqxx::basic_lostream< CHAR, TRAITS >::traits_type
|
|
Constructor & Destructor Documentation
|
Create a basic_lostream.
- Parameters:
-
T | transaction in which this stream is to exist |
O | a large object to access |
BufSize | size of buffer to use internally (optional) |
|
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
pqxx::basic_lostream< CHAR, TRAITS >::basic_lostream |
( |
TransactionItf & |
T, |
|
|
Oid |
O, |
|
|
LargeObject::size_type |
BufSize = 512 |
|
) |
|
|
|
Create a basic_lostream.
- Parameters:
-
T | transaction in which this stream is to exist |
O | a large object to access |
BufSize | size of buffer to use internally (optional) |
|
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>> |
pqxx::basic_lostream< CHAR, TRAITS >::~basic_lostream |
( |
|
) |
|
|
The documentation for this class was generated from the following file:
Generated on Mon Apr 28 16:37:19 2003 for libpqxx by
1.3-rc3