Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

pqxx::basic_ilostream< CHAR, TRAITS > Class Template Reference

Input stream that gets its data from a large object. More...

#include <largeobject.h>

List of all members.

Public Types

typedef CHAR char_type
typedef TRAITS traits_type
typedef traits_type::int_type int_type
typedef traits_type::pos_type pos_type
typedef traits_type::off_type off_type

Public Member Functions

 basic_ilostream (Transaction_base &T, LargeObject O, LargeObject::size_type BufSize=512)
 Create a basic_ilostream.

 basic_ilostream (Transaction_base &T, Oid O, LargeObject::size_type BufSize=512)
 Create a basic_ilostream.


Detailed Description

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
class pqxx::basic_ilostream< CHAR, TRAITS >

Input stream that gets its data from a large object.

Use this class exactly as you would any other istream to read data from a large object. All formatting and streaming operations of std::istream are supported. What you'll typically want to use, however, is the ilostream typedef defined below. This is similar to e.g. std::ifstream.

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_ilostream< CHAR, TRAITS >::char_type
 

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef traits_type::int_type pqxx::basic_ilostream< CHAR, TRAITS >::int_type
 

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef traits_type::off_type pqxx::basic_ilostream< CHAR, TRAITS >::off_type
 

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef traits_type::pos_type pqxx::basic_ilostream< CHAR, TRAITS >::pos_type
 

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef TRAITS pqxx::basic_ilostream< CHAR, TRAITS >::traits_type
 


Constructor & Destructor Documentation

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
pqxx::basic_ilostream< CHAR, TRAITS >::basic_ilostream Transaction_base   T,
LargeObject    O,
LargeObject::size_type    BufSize = 512
 

Create a basic_ilostream.

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_ilostream< CHAR, TRAITS >::basic_ilostream Transaction_base   T,
Oid    O,
LargeObject::size_type    BufSize = 512
 

Create a basic_ilostream.

Parameters:
T transaction in which this stream is to exist
O identifier of a large object to access
BufSize size of buffer to use internally (optional)


The documentation for this class was generated from the following file:
Generated on Sat May 10 18:53:39 2003 for libpqxx by doxygen1.3-rc3