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