Eneboo - Documentación para desarrolladores
Métodos públicos | Métodos protegidos
Referencia de la Clase QNullResult
Diagrama de herencias de QNullResult
QSqlResult

Lista de todos los miembros.

Métodos públicos

 QNullResult (const QSqlDriver *d)
 ~QNullResult ()

Métodos protegidos

QVariant data (int)
bool reset (const QString &sqlquery)
bool fetch (int i)
bool fetchFirst ()
bool fetchLast ()
bool isNull (int)
QSqlRecord record ()
int size ()
int numRowsAffected ()

Documentación del constructor y destructor

QNullResult::QNullResult ( const QSqlDriver d) [inline]
QNullResult::~QNullResult ( ) [inline]

Documentación de las funciones miembro

QVariant QNullResult::data ( int  i) [inline, protected, virtual]

Returns the data for field i (zero-based) as a QVariant. This function is only called if the result is in an active state and is positioned on a valid record and i is non-negative. Derived classes must reimplement this function and return the value of field i, or QVariant() if it cannot be determined.

Implementa QSqlResult.

bool QNullResult::fetch ( int  i) [inline, protected, virtual]

Positions the result to an arbitrary (zero-based) index i. This function is only called if the result is in an active state. Derived classes must reimplement this function and position the result to the index i, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure.

Implementa QSqlResult.

bool QNullResult::fetchFirst ( ) [inline, protected, virtual]

Positions the result to the first record in the result. This function is only called if the result is in an active state. Derived classes must reimplement this function and position the result to the first record, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure.

Implementa QSqlResult.

bool QNullResult::fetchLast ( ) [inline, protected, virtual]

Positions the result to the last record in the result. This function is only called if the result is in an active state. Derived classes must reimplement this function and position the result to the last record, and call setAt() with an appropriate value. Return TRUE to indicate success, or FALSE to signify failure.

Implementa QSqlResult.

bool QNullResult::isNull ( int  i) [inline, protected, virtual]

Returns TRUE if the field at position i is NULL; otherwise returns FALSE.

Implementa QSqlResult.

int QNullResult::numRowsAffected ( ) [inline, protected, virtual]

Returns the number of rows affected by the last query executed.

Implementa QSqlResult.

QSqlRecord QNullResult::record ( ) [inline, protected]
bool QNullResult::reset ( const QString query) [inline, protected, virtual]

Sets the result to use the SQL statement query for subsequent data retrieval. Derived classes must reimplement this function and apply the query to the database. This function is called only after the result is set to an inactive state and is positioned before the first record of the new result. Derived classes should return TRUE if the query was successful and ready to be used, or FALSE otherwise.

Implementa QSqlResult.

int QNullResult::size ( ) [inline, protected, virtual]

Returns the size of the result or -1 if it cannot be determined.

Implementa QSqlResult.


La documentación para esta clase fue generada a partir del siguiente fichero:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'