#include <tntdb/bits/result.h>
Public Types | |
| typedef unsigned | size_type |
| typedef Row | value_type |
Public Member Functions | |
| Result (IResult *res) | |
| Row | getRow (size_type row_num) const |
| Value | getValue (size_type row_num, size_type field_num) const |
| size_type | size () const |
| bool | empty () const |
| size_type | getFieldCount () const |
| Row | operator[] (size_type row_num) const |
| const_iterator | begin () const |
| const_iterator | end () const |
| bool | operator! () const |
| const IResult * | getImpl () const |
Classes | |
| class | const_iterator |
| Row getRow | ( | size_type | row_num | ) | const |
Returns the row_num'ths row of the resultset.
| Value getValue | ( | size_type | row_num, | |
| size_type | field_num | |||
| ) | const |
Returns the field_num'ths value of the row_num'ths row.
| size_type size | ( | ) | const |
Returns the number of rows of this resultset.
| bool empty | ( | ) | const |
Returns true, when there are no rows available.
| size_type getFieldCount | ( | ) | const |
Returns the number of columns of the rows.
| Row operator[] | ( | size_type | row_num | ) | const |
Returns the row_num'ths row of the resultset.
| const_iterator begin | ( | ) | const |
Returns a const_iterator to the first row of this resultset.
| const_iterator end | ( | ) | const |
Returns a const_iterator past the last row of this resultset.
| bool operator! | ( | ) | const |
Returns true, when this classes does not reference a resultset.
| const IResult* getImpl | ( | ) | const |
Returns the actual implementation-class.