28 #ifndef vtkQtSQLQuery_h 29 #define vtkQtSQLQuery_h 33 #if (QT_EDITION & QT_MODULE_SQL) 35 #include "vtkGUISupportQtSQLModule.h" 39 class vtkQtSQLQueryInternals;
58 int GetNumberOfFields() VTK_OVERRIDE;
63 const
char* GetFieldName(
int col) VTK_OVERRIDE;
68 int GetFieldType(
int col) VTK_OVERRIDE;
73 bool NextRow() VTK_OVERRIDE;
83 bool HasError() VTK_OVERRIDE;
88 const
char* GetLastErrorText() VTK_OVERRIDE;
94 vtkQtSQLQueryInternals* Internals;
100 vtkSetStringMacro(LastErrorText);
104 vtkQtSQLQuery(const vtkQtSQLQuery &) VTK_DELETE_FUNCTION;
105 void operator=(const vtkQtSQLQuery &) VTK_DELETE_FUNCTION;
108 #endif // (QT_EDITION & QT_MODULE_SQL) 109 #endif // vtkQtSQLQuery_h void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool Execute() override=0
Execute the query.
A atomic type representing the union of many types.
query class associated with vtkQtSQLDatabase
a simple class to control print indentation
executes an sql query and retrieves results
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
maintains a connection to an sql database