28#ifndef vtkQtSQLQuery_h
29#define vtkQtSQLQuery_h
31#include "vtkGUISupportQtSQLModule.h"
35class vtkQtSQLQueryInternals;
95 vtkSetStringMacro(LastErrorText);
a simple class to control print indentation
maintains a connection to an sql database
query class associated with vtkQtSQLDatabase
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()
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.
executes an sql query and retrieves results
A atomic type representing the union of many types.