Public Member Functions | |
Result_data (Database *db) | |
Creates new object. | |
virtual | ~Result_data () |
Destructor. | |
virtual int | rows () |
Get number of rows. | |
virtual bool | current (int idx) |
Set current row. | |
virtual int | current () const |
Get index of current row. |
wxPg::Result_data::Result_data | ( | Database * | db | ) | [explicit] |
Creates new object.
You should not need to create Result_data objects directly.
db | - database connection. |
virtual wxPg::Result_data::~Result_data | ( | ) | [virtual] |
Destructor.
virtual int wxPg::Result_data::current | ( | ) | const [virtual] |
virtual bool wxPg::Result_data::current | ( | int | idx | ) | [virtual] |
Set current row.
idx | - index of row to become current. |
Implements wxPg::Result_data_provider.
Reimplemented in wxPg::Query_browser.
virtual int wxPg::Result_data::rows | ( | ) | [virtual] |