pg_async
|
#include <resultset.hpp>
Public Types | |
typedef row | value_type |
typedef resultset::difference_type | difference_type |
typedef value_type | reference |
typedef value_type const * | pointer |
typedef std::random_access_iterator_tag | iterator_category |
Public Types inherited from tip::db::pg::resultset::row | |
typedef smallint | size_type |
typedef resultset::difference_type | difference_type |
typedef const_field_iterator | const_iterator |
typedef const_reverse_field_iterator | const_reverse_iterator |
typedef class field | value_type |
typedef class field | reference |
typedef const_iterator | pointer |
Public Member Functions | |
const_row_iterator () | |
Dereferencing | |
reference | operator* () const |
pointer | operator-> () const |
Iterator validity checking | |
operator bool () const | |
bool | operator! () const |
Random access iterator concept | |
const_row_iterator & | operator++ () |
const_row_iterator | operator++ (int) |
const_row_iterator & | operator-- () |
const_row_iterator | operator-- (int) |
const_row_iterator & | operator+= (difference_type distance) |
const_row_iterator & | operator-= (difference_type distance) |
Iterator comparison | |
bool | operator== (const_row_iterator const &rhs) const |
bool | operator!= (const_row_iterator const &rhs) const |
bool | operator< (const_row_iterator const &rhs) const |
bool | operator<= (const_row_iterator const &rhs) const |
bool | operator> (const_row_iterator const &rhs) const |
bool | operator>= (const_row_iterator const &rhs) const |
Public Member Functions inherited from tip::db::pg::resultset::row | |
size_type | row_index () const |
template<typename... T> | |
void | to (std::tuple< T... > &) const |
template<typename... T> | |
void | to (std::tuple< T &... >) const |
template<typename... T> | |
void | to (T &...) const |
template<typename... T> | |
void | to (T &...val) const |
size_type | size () const |
bool | empty () const |
const_iterator | begin () const |
const_iterator | end () const |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
reference | operator[] (size_type index) const |
reference | operator[] (std::string const &name) const |
Friends | |
class | resultset |
Additional Inherited Members | |
Static Public Attributes inherited from tip::db::pg::resultset::row | |
static const size_type | npos |
Protected Member Functions inherited from tip::db::pg::resultset::row | |
row (result_pointer res, resultset::size_type idx) | |
Protected Attributes inherited from tip::db::pg::resultset::row | |
result_pointer | result_ |
resultset::size_type | row_index_ |
Iterator over the rows in a result set
Definition at line 467 of file resultset.hpp.
Definition at line 472 of file resultset.hpp.
typedef std::random_access_iterator_tag tip::db::pg::resultset::const_row_iterator::iterator_category |
Definition at line 475 of file resultset.hpp.
typedef value_type const* tip::db::pg::resultset::const_row_iterator::pointer |
Definition at line 474 of file resultset.hpp.
Definition at line 473 of file resultset.hpp.
Iterator concept
Definition at line 471 of file resultset.hpp.
|
inline |
Create a terminating iterator
Definition at line 481 of file resultset.hpp.
|
inline |
Implicitly convert to boolean. The row index is valid when it is equal to the result set size for an iterator that is returned by end() function to be valid and moveable.
Definition at line 504 of file resultset.hpp.
|
inline |
Definition at line 507 of file resultset.hpp.
|
inline |
Definition at line 550 of file resultset.hpp.
|
inline |
Definition at line 486 of file resultset.hpp.
|
inline |
Definition at line 513 of file resultset.hpp.
|
inline |
Definition at line 517 of file resultset.hpp.
|
inline |
Definition at line 536 of file resultset.hpp.
|
inline |
Definition at line 524 of file resultset.hpp.
|
inline |
Definition at line 528 of file resultset.hpp.
|
inline |
Definition at line 539 of file resultset.hpp.
|
inline |
Definition at line 491 of file resultset.hpp.
|
inline |
Definition at line 554 of file resultset.hpp.
|
inline |
Definition at line 557 of file resultset.hpp.
|
inline |
Definition at line 546 of file resultset.hpp.
|
inline |
Definition at line 560 of file resultset.hpp.
|
inline |
Definition at line 563 of file resultset.hpp.
|
friend |
Definition at line 568 of file resultset.hpp.