|
libpqxx
|
Efficiently pull data directly out of a table. More...
#include <stream_from.hxx>

Public Member Functions | |
| stream_from (transaction_base &, const std::string &table_name) | |
| template<typename Columns > | |
| stream_from (transaction_base &, const std::string &table_name, const Columns &columns) | |
| template<typename Iter > | |
| stream_from (transaction_base &, const std::string &table_name, Iter columns_begin, Iter columns_end) | |
| ~stream_from () noexcept | |
| void | complete () override |
| bool | get_raw_line (std::string &) |
| template<typename Tuple > | |
| stream_from & | operator>> (Tuple &) |
Public Member Functions inherited from pqxx::stream_base | |
| stream_base (transaction_base &) | |
| virtual | ~stream_base () noexcept=default |
| 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... | |
Additional Inherited Members | |
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 inherited from pqxx::stream_base | |
| template<typename C > | |
| static std::string | columnlist (const C &) |
| template<typename I > | |
| static std::string | columnlist (I begin, I end) |
Protected Attributes inherited from pqxx::stream_base | |
| bool | m_finished |
Protected Attributes inherited from pqxx::internal::transactionfocus | |
| transaction_base & | m_trans |
Efficiently pull data directly out of a table.
| pqxx::stream_from::stream_from | ( | transaction_base & | tb, |
| const std::string & | table_name | ||
| ) |
| pqxx::stream_from::stream_from | ( | transaction_base & | tb, |
| const std::string & | table_name, | ||
| const Columns & | columns | ||
| ) |
| pqxx::stream_from::stream_from | ( | transaction_base & | tb, |
| const std::string & | table_name, | ||
| Iter | columns_begin, | ||
| Iter | columns_end | ||
| ) |
References pqxx::stream_base::columnlist().
|
noexcept |
References complete(), and pqxx::internal::transactionfocus::reg_pending_error().
|
overridevirtual |
Implements pqxx::stream_base.
Referenced by ~stream_from().
| bool pqxx::stream_from::get_raw_line | ( | std::string & | line | ) |
References pqxx::stream_base::close(), pqxx::transaction_base::conn(), pqxx::internal::enc_group(), pqxx::connection_base::encoding_id(), pqxx::internal::get_glyph_scanner(), pqxx::internal::transactionfocus::m_trans, pqxx::internal::transactionfocus::reg_pending_error(), and pqxx::internal::transactionfocus::register_me().
Referenced by pqxx::stream_to::operator<<(), and operator>>().
| stream_from & pqxx::stream_from::operator>> | ( | Tuple & | t | ) |
References get_raw_line().