![]() |
Home | Libraries | Author | Links |
Definition at line 614 of file dbsql.hpp.
Public Types | |
typedef table::field::row | row |
Result row containing a vector of table field values. | |
Public Member Functions | |
virtual | ~result () |
Virtual destructor. | |
virtual const table & | rtable () const =0 |
Returns the result's table. | |
virtual const table::layout & | columns () const =0 |
Returns the result's table layout. | |
virtual row & | data ()=0 |
Returns the result's current row data. | |
virtual const row & | data () const =0 |
virtual bool | getData (size_t pos, row &data)=0 |
If the result's records are positionable by record number, update data with the result's row data at record number position pos and return true, else return false. | |
virtual size_t | size () const =0 |
virtual bool | valid () const =0 |
Returns true, if the result's current row is valid. | |
virtual bool | isRecnoValid () const =0 |
Returns true, if the result's records are positionable by record number. | |
virtual size_t | getRecno () const =0 throw (std::runtime_error) |
If the result's records are positionable by record number, return the record number of the current record. | |
virtual bool | syncFromOther (result *other)=0 throw (std::runtime_error) |
Synchronize this result to have the same current record as the other result. | |
virtual bool | advance (ptrdiff_t dist)=0 throw (std::runtime_error) |
virtual bool | position (size_t pos)=0 throw (std::runtime_error) |
virtual bool | next ()=0 throw (std::runtime_error) |
virtual bool | prev ()=0 throw (std::runtime_error) |
virtual bool | first ()=0 throw (std::runtime_error) |
virtual bool | last ()=0 throw (std::runtime_error) |
virtual size_t | getSortColNr () const =0 |
virtual bool | isDescending () const =0 |
virtual stm::db::sql::result::~result | ( | ) | [virtual] |
Virtual destructor.
virtual const table& stm::db::sql::result::rtable | ( | ) | const [pure virtual] |
Returns the result's table.
virtual const table::layout& stm::db::sql::result::columns | ( | ) | const [pure virtual] |
Returns the result's table layout.
virtual row& stm::db::sql::result::data | ( | ) | [pure virtual] |
Returns the result's current row data.
virtual const row& stm::db::sql::result::data | ( | ) | const [pure virtual] |
virtual bool stm::db::sql::result::getData | ( | size_t | pos, | |
row & | data | |||
) | [pure virtual] |
If the result's records are positionable by record number, update data with the result's row data at record number position pos and return true, else return false.
virtual size_t stm::db::sql::result::size | ( | ) | const [pure virtual] |
virtual bool stm::db::sql::result::valid | ( | ) | const [pure virtual] |
Returns true, if the result's current row is valid.
virtual bool stm::db::sql::result::isRecnoValid | ( | ) | const [pure virtual] |
Returns true, if the result's records are positionable by record number.
virtual size_t stm::db::sql::result::getRecno | ( | ) | const throw (std::runtime_error) [pure virtual] |
If the result's records are positionable by record number, return the record number of the current record.
If this is not possible, return -1.
virtual bool stm::db::sql::result::syncFromOther | ( | result * | other | ) | throw (std::runtime_error) [pure virtual] |
virtual bool stm::db::sql::result::advance | ( | ptrdiff_t | dist | ) | throw (std::runtime_error) [pure virtual] |
virtual bool stm::db::sql::result::position | ( | size_t | pos | ) | throw (std::runtime_error) [pure virtual] |
virtual bool stm::db::sql::result::next | ( | ) | throw (std::runtime_error) [pure virtual] |
virtual bool stm::db::sql::result::prev | ( | ) | throw (std::runtime_error) [pure virtual] |
virtual bool stm::db::sql::result::first | ( | ) | throw (std::runtime_error) [pure virtual] |
virtual bool stm::db::sql::result::last | ( | ) | throw (std::runtime_error) [pure virtual] |
virtual size_t stm::db::sql::result::getSortColNr | ( | ) | const [pure virtual] |
virtual bool stm::db::sql::result::isDescending | ( | ) | const [pure virtual] |
© Copyright Tom Michaelis 2002-2007
Distributed under the SysToMath Software License (See the accompanying file license.txt or a copy at www.SysToMath.com).