#include <types.h>
Public Types | |
enum | ColumnType { Integer = SQLITE_INTEGER, Float = SQLITE_FLOAT, Text = SQLITE_TEXT, Blob = SQLITE_BLOB, Null = SQLITE_NULL } |
Public Member Functions | |
unsigned int | count_values () const |
bool | done () const |
unsigned int | row_number () const |
bool | next () SSRC_DECL_THROW(DatabaseException) |
ColumnType | column_type (const unsigned int index) const |
template<typename T > | |
T | value (unsigned int index=0) const |
template<typename T > | |
T | values () const |
template<typename T > | |
operator T () const | |
template<typename functor > | |
unsigned int | for_each (const functor &apply) SSRC_DECL_THROW(DatabaseException) |
Friends | |
class | PreparedStatement |
Detailed Description
Definition at line 173 of file database/types.h.
Member Enumeration Documentation
Definition at line 187 of file database/types.h.
Member Function Documentation
ColumnType ResultSet::column_type | ( | const unsigned int | index | ) | const [inline] |
Definition at line 218 of file database/types.h.
unsigned int ResultSet::count_values | ( | ) | const [inline] |
Definition at line 195 of file database/types.h.
bool ResultSet::done | ( | ) | const [inline] |
Definition at line 199 of file database/types.h.
Referenced by for_each().
unsigned int ResultSet::for_each | ( | const functor & | apply | ) | [inline] |
Definition at line 250 of file database/types.h.
bool ResultSet::next | ( | ) | [inline] |
Definition at line 203 of file database/types.h.
References detail::step().
Referenced by for_each().
ResultSet::operator T | ( | ) | const [inline] |
Definition at line 244 of file database/types.h.
unsigned int ResultSet::row_number | ( | ) | const [inline] |
Definition at line 201 of file database/types.h.
blob_type ResultSet::value< blob_type > | ( | unsigned int | index = 0 | ) | const [inline] |
Definition at line 223 of file database/types.h.
Referenced by DefaultValueLoader::load(), detail::SVLoader< Unpacker, T, true >::load(), detail::SVLoader< Unpacker, T, false >::load(), and value().
T ResultSet::values | ( | ) | const [inline] |
Definition at line 227 of file database/types.h.
Friends And Related Function Documentation
friend class PreparedStatement [friend] |
Definition at line 174 of file database/types.h.
The documentation for this class was generated from the following file: