28#ifndef vtkQtSQLQuery_h
29#define vtkQtSQLQuery_h
31#include "vtkGUISupportQtSQLModule.h"
35class vtkQtSQLQueryInternals;
95 vtkSetStringMacro(LastErrorText);
a simple class to control print indentation
vtkVariant DataValue(vtkIdType c) override
Return data in current row, field c.
~vtkQtSQLQuery() override
const char * GetFieldName(int col) override
Return the name of the specified query field.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetNumberOfFields() override
The number of fields in the query result.
static vtkQtSQLQuery * New()
friend class vtkQtSQLDatabase
const char * GetLastErrorText() override
Get the last error text from the query.
int GetFieldType(int col) override
Return the type of the specified query field, as defined in vtkType.h.
vtkQtSQLQueryInternals * Internals
bool Execute() override
Execute the query.
bool HasError() override
Returns true if an error is set, otherwise false.
bool NextRow() override
Advance row, return false if past end.
A atomic type representing the union of many types.