libpqxx
3.1.1
|
#include <result.hxx>
Public Types | |
typedef tuple::size_type | size_type |
typedef tuple::difference_type | difference_type |
typedef field | reference |
![]() | |
typedef size_t | size_type |
Public Member Functions | |
const_fielditerator (const tuple &T, tuple::size_type C) throw () | |
const_fielditerator (const field &F) throw () | |
Dereferencing operators | |
pointer | operator-> () const |
reference | operator* () const |
Manipulations | |
const_fielditerator | operator++ (int) |
const_fielditerator & | operator++ () |
const_fielditerator | operator-- (int) |
const_fielditerator & | operator-- () |
const_fielditerator & | operator+= (difference_type i) |
const_fielditerator & | operator-= (difference_type i) |
Comparisons | |
bool | operator== (const const_fielditerator &i) const |
bool | operator!= (const const_fielditerator &i) const |
bool | operator< (const const_fielditerator &i) const |
bool | operator<= (const const_fielditerator &i) const |
bool | operator> (const const_fielditerator &i) const |
bool | operator>= (const const_fielditerator &i) const |
![]() | |
field (const tuple &T, tuple::size_type C) throw () | |
Constructor. | |
template<> | |
bool | to (const char *&Obj) const |
Specialization: to(const char *&) . | |
bool | operator== (const field &) const |
Byte-by-byte comparison of two fields (all nulls are considered equal) | |
bool | operator!= (const field &rhs) const |
Byte-by-byte comparison (all nulls are considered equal) | |
const char * | name () const |
Column name. | |
oid | type () const |
Column type. | |
oid | table () const |
What table did this column come from? Requires PostgreSQL 7.4 C API. | |
tuple::size_type | num () const |
tuple::size_type | table_column () const |
What column number in its originating table did this column come from? | |
const char * | c_str () const |
Read as plain C string. | |
template<typename T > | |
bool | to (T &Obj) const |
Read value into Obj; or leave Obj untouched and return false if null. | |
template<typename T > | |
bool | operator>> (T &Obj) const |
Read value into Obj; or leave Obj untouched and return false if null. | |
template<typename T > | |
bool | to (T &Obj, const T &Default) const |
Read value into Obj; or use Default & return false if null. | |
template<typename T > | |
T | as (const T &Default) const |
Return value as object of given type, or Default if null. | |
template<typename T > | |
T | as () const |
Return value as object of given type, or throw exception if null. | |
bool | is_null () const |
size_type | size () const throw () |
Arithmetic operators | |
const_fielditerator | operator+ (difference_type) const |
const_fielditerator | operator- (difference_type) const |
difference_type | operator- (const_fielditerator) const |
const_fielditerator | operator+ (difference_type, const_fielditerator) |
Additional Inherited Members | |
![]() | |
tuple::size_type | col () const throw () |
![]() | |
tuple | m_tup |
tuple::size_type | m_col |
pqxx::result::const_fielditerator::const_fielditerator | ( | const tuple & | T, |
tuple::size_type | C | ||
) | throw () |
pqxx::result::const_fielditerator::const_fielditerator | ( | const field & | F | ) | throw () |
bool pqxx::result::const_fielditerator::operator!= | ( | const const_fielditerator & | i | ) | const |
reference pqxx::result::const_fielditerator::operator* | ( | ) | const |
result::const_fielditerator pqxx::result::const_fielditerator::operator+ | ( | difference_type | o | ) | const |
pqxx::result::const_fielditerator pqxx::result::const_fielditerator::operator++ | ( | int | ) |
const_fielditerator& pqxx::result::const_fielditerator::operator++ | ( | ) |
const_fielditerator& pqxx::result::const_fielditerator::operator+= | ( | difference_type | i | ) |
result::const_fielditerator pqxx::result::const_fielditerator::operator- | ( | difference_type | o | ) | const |
result::const_fielditerator::difference_type pqxx::result::const_fielditerator::operator- | ( | const_fielditerator | i | ) | const |
References pqxx::result::field::num().
pqxx::result::const_fielditerator pqxx::result::const_fielditerator::operator-- | ( | int | ) |
const_fielditerator& pqxx::result::const_fielditerator::operator-- | ( | ) |
const_fielditerator& pqxx::result::const_fielditerator::operator-= | ( | difference_type | i | ) |
pointer pqxx::result::const_fielditerator::operator-> | ( | ) | const |
bool pqxx::result::const_fielditerator::operator< | ( | const const_fielditerator & | i | ) | const |
bool pqxx::result::const_fielditerator::operator<= | ( | const const_fielditerator & | i | ) | const |
bool pqxx::result::const_fielditerator::operator== | ( | const const_fielditerator & | i | ) | const |
bool pqxx::result::const_fielditerator::operator> | ( | const const_fielditerator & | i | ) | const |
bool pqxx::result::const_fielditerator::operator>= | ( | const const_fielditerator & | i | ) | const |
|
friend |