libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::field_streambuf< CHAR, TRAITS > Class Template Reference

#include <field.hxx>

Inheritance diagram for pqxx::field_streambuf< CHAR, TRAITS >:
Collaboration diagram for pqxx::field_streambuf< CHAR, TRAITS >:

Public Types

typedef CHAR char_type
 
typedef traits_type::int_type int_type
 
typedef streamoff off_type
 
typedef PGSTD::ios::openmode openmode
 
typedef streampos pos_type
 
typedef PGSTD::ios::seekdir seekdir
 
typedef TRAITS traits_type
 

Public Member Functions

 field_streambuf (const field &F)
 
virtual int sync ()
 

Protected Member Functions

virtual int_type overflow (int_type)
 
virtual pos_type seekoff (off_type, seekdir, openmode)
 
virtual pos_type seekpos (pos_type, openmode)
 
virtual int_type underflow ()
 

Private Member Functions

int_type initialize ()
 

Private Attributes

const fieldm_Field
 

Member Typedef Documentation

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef CHAR pqxx::field_streambuf< CHAR, TRAITS >::char_type
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef traits_type::int_type pqxx::field_streambuf< CHAR, TRAITS >::int_type
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef streamoff pqxx::field_streambuf< CHAR, TRAITS >::off_type
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef PGSTD::ios::openmode pqxx::field_streambuf< CHAR, TRAITS >::openmode
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef streampos pqxx::field_streambuf< CHAR, TRAITS >::pos_type
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef PGSTD::ios::seekdir pqxx::field_streambuf< CHAR, TRAITS >::seekdir
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
typedef TRAITS pqxx::field_streambuf< CHAR, TRAITS >::traits_type

Constructor & Destructor Documentation

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
pqxx::field_streambuf< CHAR, TRAITS >::field_streambuf ( const field F)
inlineexplicit

References pqxx::field_streambuf< CHAR, TRAITS >::initialize().

Here is the call graph for this function:

Member Function Documentation

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
int_type pqxx::field_streambuf< CHAR, TRAITS >::initialize ( )
inlineprivate

References pqxx::field::c_str(), pqxx::field_streambuf< CHAR, TRAITS >::m_Field, and pqxx::field::size().

Referenced by pqxx::field_streambuf< CHAR, TRAITS >::field_streambuf().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
virtual int_type pqxx::field_streambuf< CHAR, TRAITS >::overflow ( int_type  )
inlineprotectedvirtual
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
virtual pos_type pqxx::field_streambuf< CHAR, TRAITS >::seekoff ( off_type  ,
seekdir  ,
openmode   
)
inlineprotectedvirtual
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
virtual pos_type pqxx::field_streambuf< CHAR, TRAITS >::seekpos ( pos_type  ,
openmode   
)
inlineprotectedvirtual
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
virtual int pqxx::field_streambuf< CHAR, TRAITS >::sync ( )
inlinevirtual
template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
virtual int_type pqxx::field_streambuf< CHAR, TRAITS >::underflow ( )
inlineprotectedvirtual

Member Data Documentation

template<typename CHAR = char, typename TRAITS = PGSTD::char_traits<CHAR>>
const field& pqxx::field_streambuf< CHAR, TRAITS >::m_Field
private

The documentation for this class was generated from the following file: