libpqxx
|
#include <stream_base.hxx>
Public Member Functions | |
stream_base (transaction_base &) | |
virtual | ~stream_base () noexcept |
virtual void | complete ()=0 |
operator bool () const noexcept | |
bool | operator! () const noexcept |
Public Member Functions inherited from pqxx::internal::transactionfocus | |
transactionfocus (transaction_base &t) | |
transactionfocus ()=delete | |
transactionfocus (const transactionfocus &)=delete | |
transactionfocus & | operator= (const transactionfocus &)=delete |
Public Member Functions inherited from pqxx::internal::namedclass | |
namedclass (const std::string &Classname) | |
namedclass (const std::string &Classname, const std::string &Name) | |
const std::string & | name () const noexcept |
Object name, or the empty string if no name was given. More... | |
const std::string & | classname () const noexcept |
Class name. More... | |
std::string | description () const |
Combination of class name and object name; or just class name. More... | |
Protected Member Functions | |
virtual void | close () |
Protected Member Functions inherited from pqxx::internal::transactionfocus | |
void | register_me () |
void | unregister_me () noexcept |
void | reg_pending_error (const std::string &) noexcept |
bool | registered () const noexcept |
Static Protected Member Functions | |
template<typename C > | |
static std::string | columnlist (const C &) |
template<typename I > | |
static std::string | columnlist (I begin, I end) |
Protected Attributes | |
bool | m_finished |
Protected Attributes inherited from pqxx::internal::transactionfocus | |
transaction_base & | m_trans |
|
explicit |
Implementation of the pqxx::stream_base class.
pqxx::stream_base provides optimized batch access to a database table.
Copyright (c) 2001-2018, Jeroen T. Vermeulen.
See COPYING for copyright license. If you did not receive a file called COPYING with this source code, please notify the distributor of this mistake, or contact the author.
References m_finished, and stream_base().
Referenced by stream_base().
|
virtualnoexcept |
|
protectedvirtual |
References m_finished, and pqxx::internal::transactionfocus::unregister_me().
Referenced by pqxx::stream_from::get_raw_line(), and pqxx::stream_to::operator<<().
|
staticprotected |
Referenced by pqxx::stream_from::stream_from(), and pqxx::stream_to::stream_to().
|
staticprotected |
References pqxx::separated_list().
|
pure virtual |
Implemented in pqxx::stream_to, and pqxx::stream_from.
|
noexcept |
References m_finished.
|
noexcept |
|
protected |
Referenced by close(), pqxx::stream_from::get_raw_line(), operator bool(), and stream_base().