|
libpqxx
|
#include <tablereader.hxx>

Public Member Functions | |
| tablereader (transaction_base &, const std::string &Name, const std::string &Null=std::string{}) | |
| template<typename ITER > | |
| tablereader (transaction_base &, const std::string &Name, ITER begincolumns, ITER endcolumns) | |
| template<typename ITER > | |
| tablereader (transaction_base &, const std::string &Name, ITER begincolumns, ITER endcolumns, const std::string &Null) | |
| ~tablereader () noexcept | |
| template<typename TUPLE > | |
| tablereader & | operator>> (TUPLE &) |
| operator bool () const noexcept | |
| bool | operator! () const noexcept |
| bool | get_raw_line (std::string &Line) |
| template<typename TUPLE > | |
| void | tokenize (std::string, TUPLE &) const |
| virtual void | complete () override |
Public Member Functions inherited from pqxx::tablestream | |
| tablestream (transaction_base &Trans, const std::string &Null=std::string{}) | |
| virtual | ~tablestream () noexcept=0 |
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::tablestream | |
| const std::string & | NullStr () const |
| bool | is_finished () const noexcept |
| void | base_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 inherited from pqxx::tablestream | |
| template<typename ITER > | |
| static std::string | columnlist (ITER colbegin, ITER colend) |
Protected Attributes inherited from pqxx::internal::transactionfocus | |
| transaction_base & | m_trans |
Efficiently pull data directly out of a table.
| pqxx::tablereader::tablereader | ( | transaction_base & | T, |
| const std::string & | Name, | ||
| const std::string & | Null = std::string{} |
||
| ) |
References pqxx::internal::transactionfocus::register_me().
| pqxx::tablereader::tablereader | ( | transaction_base & | T, |
| const std::string & | Name, | ||
| ITER | begincolumns, | ||
| ITER | endcolumns | ||
| ) |
References pqxx::tablestream::columnlist().
| pqxx::tablereader::tablereader | ( | transaction_base & | T, |
| const std::string & | Name, | ||
| ITER | begincolumns, | ||
| ITER | endcolumns, | ||
| const std::string & | Null | ||
| ) |
References pqxx::tablestream::columnlist().
|
noexcept |
|
overridevirtual |
| bool pqxx::tablereader::get_raw_line | ( | std::string & | Line | ) |
References pqxx::internal::transactionfocus::m_trans.
Referenced by complete(), pqxx::tablewriter::operator<<(), and operator>>().
|
noexcept |
|
noexcept |
| tablereader & pqxx::tablereader::operator>> | ( | TUPLE & | T | ) |
References get_raw_line(), and tokenize().
| void pqxx::tablereader::tokenize | ( | std::string | Line, |
| TUPLE & | T | ||
| ) | const |
Referenced by operator>>().