libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::tablestream Class Referenceabstract

#include <tablestream.hxx>

Inheritance diagram for pqxx::tablestream:
Collaboration diagram for pqxx::tablestream:

Public Member Functions

 tablestream (transaction_base &Trans, const PGSTD::string &Null=PGSTD::string())
 
virtual ~tablestream ()=0 throw ()
 
const PGSTD::string & classname () const throw ()
 
template<typename ITER >
PGSTD::string columnlist (ITER colbegin, ITER colend)
 
virtual void complete ()=0
 
PGSTD::string description () const
 
const PGSTD::string & name () const throw ()
 

Protected Member Functions

void base_close ()
 
bool is_finished () const throw ()
 
const PGSTD::string & NullStr () const
 
void reg_pending_error (const PGSTD::string &) throw ()
 
void register_me ()
 
bool registered () const throw ()
 
void unregister_me () throw ()
 

Static Protected Member Functions

template<typename ITER >
static PGSTD::string columnlist (ITER colbegin, ITER colend)
 

Protected Attributes

transaction_basem_Trans
 

Private Member Functions

 tablestream ()
 
 tablestream (const tablestream &)
 
tablestreamoperator= (const tablestream &)
 

Private Attributes

bool m_Finished
 
PGSTD::string m_Null
 

Detailed Description

Deprecated:
Base class for obsolete tablereader/tablewriter classes.

Constructor & Destructor Documentation

pqxx::tablestream::tablestream ( transaction_base Trans,
const PGSTD::string &  Null = PGSTD::string() 
)
explicit
virtual pqxx::tablestream::~tablestream ( ) throw ()
pure virtual
pqxx::tablestream::tablestream ( )
private
pqxx::tablestream::tablestream ( const tablestream )
private

Member Function Documentation

void pqxx::tablestream::base_close ( )
protected
const PGSTD::string& pqxx::internal::namedclass::classname ( ) const throw ()
inlineinherited
template<typename ITER >
static PGSTD::string pqxx::tablestream::columnlist ( ITER  colbegin,
ITER  colend 
)
staticprotected

Referenced by pqxx::tablereader::tablereader(), and pqxx::tablewriter::tablewriter().

Here is the caller graph for this function:

template<typename ITER >
PGSTD::string pqxx::tablestream::columnlist ( ITER  colbegin,
ITER  colend 
)
inline

References pqxx::separated_list().

Here is the call graph for this function:

virtual void pqxx::tablestream::complete ( )
pure virtual

Implemented in pqxx::tablewriter, and pqxx::tablereader.

PGSTD::string pqxx::internal::namedclass::description ( ) const
inherited
bool pqxx::tablestream::is_finished ( ) const throw ()
inlineprotected
const PGSTD::string& pqxx::internal::namedclass::name ( ) const throw ()
inlineinherited
const PGSTD::string& pqxx::tablestream::NullStr ( ) const
inlineprotected

Referenced by pqxx::tablewriter::generate().

Here is the caller graph for this function:

tablestream& pqxx::tablestream::operator= ( const tablestream )
private
void pqxx::internal::transactionfocus::reg_pending_error ( const PGSTD::string &  ) throw ()
protectedinherited
void pqxx::internal::transactionfocus::register_me ( )
protectedinherited
bool pqxx::internal::transactionfocus::registered ( ) const throw ()
inlineprotectedinherited
void pqxx::internal::transactionfocus::unregister_me ( ) throw ()
protectedinherited

Member Data Documentation

bool pqxx::tablestream::m_Finished
private
PGSTD::string pqxx::tablestream::m_Null
private
transaction_base& pqxx::internal::transactionfocus::m_Trans
protectedinherited

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