Search Toolkit Book for CQuery::CRowIterator
Iterator class doing main navigation through result sets. More...
#include <dbapi/simple/sdbapi.hpp>
Iterator class doing main navigation through result sets.
Definition at line 418 of file sdbapi.hpp.
◆ difference_type ◆ iterator_category ◆ pointer ◆ reference ◆ value_type ◆ CRowIterator() [1/3] CQuery::CRowIterator::CRowIterator ( void )Empty constructor of iterator.
Object constructed this way cannot be used for anything except assigning from another iterator object.
Definition at line 3553 of file sdbapi.cpp.
◆ ~CRowIterator() CQuery::CRowIterator::~CRowIterator ( void )Definition at line 3576 of file sdbapi.cpp.
◆ CRowIterator() [2/3]Copying of iterator object.
Different copies of iterator won't point to different rows in the result set, i.e. incrementing one iterator will change values returned from the other.
Definition at line 3563 of file sdbapi.cpp.
◆ CRowIterator() [3/3]Create iterator for the query.
Two types of iterators are possible - pointer to end and pointer to anything else.
Definition at line 3558 of file sdbapi.cpp.
◆ GetColumnName() string CQuery::CRowIterator::GetColumnName ( unsigned int col ) constGet name of the column with given number in the current result set.
All columns are numbered starting with 1.
Definition at line 3604 of file sdbapi.cpp.
◆ GetColumnType() ESDB_Type CQuery::CRowIterator::GetColumnType ( unsigned int col ) constGet type of the column with given number in the current result set.
All columns are numbered starting with 1.
Definition at line 3610 of file sdbapi.cpp.
◆ GetResultSetNo() unsigned int CQuery::CRowIterator::GetResultSetNo ( void ) constGet number of currently active result set.
All result sets are numbered starting with 1.
Definition at line 3586 of file sdbapi.cpp.
◆ GetRowNo() unsigned int CQuery::CRowIterator::GetRowNo ( void ) constGet row number currently active.
Row numbers are assigned consecutively to each row in all result sets returned starting with 1. Row number is not reset after passing result set boundary.
Definition at line 3592 of file sdbapi.cpp.
◆ GetTotalColumns() unsigned int CQuery::CRowIterator::GetTotalColumns ( void ) constGet number of columns in the current result set.
Definition at line 3598 of file sdbapi.cpp.
◆ operator!=() ◆ operator*()Get the full row. (The caller is welcome to keep a copy.)
Definition at line 3650 of file sdbapi.cpp.
◆ operator++() [1/2] ◆ operator++() [2/2] ◆ operator=() ◆ operator==() ◆ operator[]() [1/2]Get column value by its name.
Definition at line 3645 of file sdbapi.cpp.
◆ operator[]() [2/2]Get column value by its number.
All columns are numbered starting with 1.
Definition at line 3639 of file sdbapi.cpp.
◆ x_GetContext() ◆ CQuery ◆ m_IsEnd bool CQuery::CRowIterator::m_IsEnd private ◆ m_QueryThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4