|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   28 #ifndef vtkQtSQLQuery_h 
   29 #define vtkQtSQLQuery_h 
   33 #if (QT_EDITION & QT_MODULE_SQL) 
   35 #include "vtkGUISupportQtSQLModule.h"  
   39 class vtkQtSQLQueryInternals;
 
   94   vtkQtSQLQueryInternals* Internals;
 
   99   vtkSetStringMacro(LastErrorText);
 
  107 #endif // (QT_EDITION & QT_MODULE_SQL) 
  108 #endif // vtkQtSQLQuery_h 
  
virtual const char * GetFieldName(int i)=0
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.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
query class associated with vtkQtSQLDatabase
bool Execute() override=0
Execute the query.
virtual bool HasError()=0
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.
virtual int GetNumberOfFields()=0
The number of fields in the query result.
virtual vtkVariant DataValue(vtkIdType c)=0
Return data in current row, field c.
virtual int GetFieldType(int i)=0
Return the type of the field, using the constants defined in vtkType.h.
maintains a connection to an sql database
executes an sql query and retrieves results
virtual bool NextRow()=0
Advance row, return false if past end.
virtual const char * GetLastErrorText()=0
Get the last error text from the query.