42 #ifndef QSQLCACHEDRESULT_P_H 43 #define QSQLCACHEDRESULT_P_H 56 #include "QtSql/qsqlresult.h" 61 template <
typename T>
class QVector;
75 void init(
int colCount);
79 virtual bool gotoNext(ValueCache &
values,
int index) = 0;
100 #endif // QSQLCACHEDRESULT_P_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
The QSqlDriver class is an abstract base class for accessing specific SQL databases.
virtual bool fetchFirst()=0
Positions the result to the first record (row 0) in the result.
The QVector class is a template class that provides a dynamic array.
virtual QVariant data(int i)=0
Returns the data for field index in the current row as a QVariant.
#define QT_BEGIN_NAMESPACE
This macro expands to.
QSqlCachedResultPrivate * d
virtual bool fetchNext()
Positions the result to the next available record (row) in the result.
static const char * data(const QByteArray &arr)
virtual bool fetchLast()=0
Positions the result to the last record (last row) in the result.
virtual void virtual_hook(int id, void *data)
QVector< QVariant > ValueCache
virtual bool fetchPrevious()
Positions the result to the previous record (row) in the result.
virtual bool fetch(int i)=0
Positions the result to an arbitrary (zero-based) row index.
The QSqlResult class provides an abstract interface for accessing data from specific SQL databases...
virtual bool isNull(int i)=0
Returns true if the field at position index in the current row is null; otherwise returns false...