pg_async
|
#include <resultset.hpp>
Public Types | |
Iterator concept | |
typedef field | 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 Member Functions | |
const_field_iterator () | |
Dereferencing | |
reference | operator* () const |
pointer | operator-> () const |
Iterator validity checking | |
operator bool () const | |
bool | operator! () const |
Random access iterator concept | |
const_field_iterator & | operator++ () |
const_field_iterator | operator++ (int) |
const_field_iterator & | operator-- () |
const_field_iterator | operator-- (int) |
const_field_iterator & | operator+= (difference_type distance) |
const_field_iterator & | operator-= (difference_type distance) |
Iterator comparison | |
bool | operator== (const_field_iterator const &rhs) const |
bool | operator!= (const_field_iterator const &rhs) const |
bool | operator< (const_field_iterator const &rhs) const |
bool | operator<= (const_field_iterator const &rhs) const |
bool | operator> (const_field_iterator const &rhs) const |
bool | operator>= (const_field_iterator const &rhs) const |
Public Member Functions inherited from tip::db::pg::resultset::field | |
size_type | row_index () const |
Index of owner row. More... | |
row::size_type | field_index () const |
Index of field in the row. More... | |
std::string const & | name () const |
Name of field. More... | |
field_description const & | description () const |
Field description. More... | |
bool | is_null () const |
Is field value null. More... | |
bool | empty () const |
Is field value empty (not null) More... | |
template<typename T > | |
bool | to (T &val) const |
template<typename T > | |
bool | to (boost::optional< T > &val) const |
template<typename T > | |
std::decay< T >::type | as () const |
template<typename T > | |
std::decay< T >::type | coalesce (T const &default_val) |
Friends | |
class | row |
Additional Inherited Members | |
Protected Member Functions inherited from tip::db::pg::resultset::field | |
field (result_pointer res, size_type row, row::size_type col) | |
Protected Attributes inherited from tip::db::pg::resultset::field | |
result_pointer | result_ |
size_type | row_index_ |
row::size_type | field_index_ |
Iterator over the fields in a data row
Definition at line 580 of file resultset.hpp.
Definition at line 585 of file resultset.hpp.
typedef std::random_access_iterator_tag tip::db::pg::resultset::const_field_iterator::iterator_category |
Definition at line 588 of file resultset.hpp.
typedef value_type const* tip::db::pg::resultset::const_field_iterator::pointer |
Definition at line 587 of file resultset.hpp.
Definition at line 586 of file resultset.hpp.
Definition at line 584 of file resultset.hpp.
|
inline |
Create a terminating iterator
Definition at line 594 of file resultset.hpp.
|
inline |
Implicitly convert to boolean. The row index is valid when it is equal to the row size for an iterator that is returned by end() function to be valid and moveable.
Definition at line 617 of file resultset.hpp.
|
inline |
Definition at line 622 of file resultset.hpp.
|
inline |
Definition at line 665 of file resultset.hpp.
|
inline |
Definition at line 599 of file resultset.hpp.
|
inline |
Definition at line 628 of file resultset.hpp.
|
inline |
Definition at line 632 of file resultset.hpp.
|
inline |
Definition at line 651 of file resultset.hpp.
|
inline |
Definition at line 639 of file resultset.hpp.
|
inline |
Definition at line 643 of file resultset.hpp.
|
inline |
Definition at line 654 of file resultset.hpp.
|
inline |
Definition at line 604 of file resultset.hpp.
|
inline |
Definition at line 669 of file resultset.hpp.
|
inline |
Definition at line 672 of file resultset.hpp.
|
inline |
Definition at line 661 of file resultset.hpp.
|
inline |
Definition at line 675 of file resultset.hpp.
|
inline |
Definition at line 678 of file resultset.hpp.
|
friend |
Definition at line 682 of file resultset.hpp.