#include <db.h>
Public Member Functions | |
Cursor (const Cursor &cur) | |
auto_ptr-like copy semantics | |
Cursor & | operator= (const Cursor &cur) |
auto_ptr-like copy semantics | |
Cursor (dba_db_cursor cur) | |
Wraps an existing dba_db_cursor, taking charge of memory allocation. | |
int | remaining () const |
Get the number of remaining results to be fetched. | |
dba_varcode | varcode () const |
Get the varcode of the last data fetched, when applicable. | |
int | contextID () const |
Get the context id of the last data fetched, when applicable. | |
bool | next (Record &rec) |
Fetch the next result into a record. | |
int | attributes (Record &res) |
Query the attributes for the variable currently referenced by the cursor. | |
int | attributes (const std::vector< dba_varcode > &wanted, Record &res) |
Query the attributes for the variable currently referenced by the cursor. |
bool dballe::Cursor::next | ( | Record & | rec | ) |
Fetch the next result into a record.