#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 database::ResultSet::column_type | ( | const unsigned int | index | ) | const [inline] |
Definition at line 218 of file database/types.h.
| unsigned int database::ResultSet::count_values | ( | ) | const [inline] |
Definition at line 195 of file database/types.h.
| bool database::ResultSet::done | ( | ) | const [inline] |
Definition at line 199 of file database/types.h.
| unsigned int database::ResultSet::for_each | ( | const functor & | apply | ) | [inline] |
Definition at line 250 of file database/types.h.
| bool database::ResultSet::next | ( | ) | [inline] |
Definition at line 203 of file database/types.h.
References database::detail::step().
| database::ResultSet::operator T | ( | ) | const [inline] |
Definition at line 244 of file database/types.h.
| unsigned int database::ResultSet::row_number | ( | ) | const [inline] |
Definition at line 201 of file database/types.h.
Definition at line 223 of file database/types.h.
Referenced by database::DefaultValueLoader::load(), database::detail::SVLoader< Unpacker, T, true >::load(), database::detail::SVLoader< Unpacker, T, false >::load(), and database::value().
| T database::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: