60 #include "vtkIOSQLModule.h"
80 virtual bool SetQuery(
const char *query);
81 virtual const char *GetQuery();
89 bool IsActive() VTK_OVERRIDE {
return this->Active; }
96 bool Execute() VTK_OVERRIDE = 0;
103 virtual
bool BeginTransaction() {
return true; }
143 virtual bool BindParameter(
int index,
unsigned char value);
144 virtual bool BindParameter(
int index,
unsigned short value);
145 virtual bool BindParameter(
int index,
unsigned int value);
146 virtual bool BindParameter(
int index,
unsigned long value);
150 virtual bool BindParameter(
int index,
signed char value);
151 virtual bool BindParameter(
int index,
short value);
153 virtual bool BindParameter(
int index,
int value);
155 virtual bool BindParameter(
int index,
long value);
156 virtual bool BindParameter(
int index,
unsigned long long value);
157 virtual bool BindParameter(
int index,
long long value);
159 virtual bool BindParameter(
int index,
float value);
160 virtual bool BindParameter(
int index,
double value);
164 virtual bool BindParameter(
int index,
const char *stringValue);
168 virtual bool BindParameter(
int index,
const char *stringValue,
size_t length);
178 virtual bool BindParameter(
int index,
const void *
data,
size_t length);
182 virtual bool ClearParameterBindings();
205 char* EscapeString(
const char* src,
bool addSurroundingQuotes );
225 void operator=(const
vtkSQLQuery &) VTK_DELETE_FUNCTION;
228 #endif // vtkSQLQuery_h
Wrapper around std::string to keep symbols short.
An array holding vtkVariants.
bool IsActive() override
Return true if the query is active (i.e.
virtual bool CommitTransaction()
abstract interface for queries that return row-oriented results.
A atomic type representing the union of many types.
maintain a connection to an sql database
a simple class to control print indentation
virtual bool RollbackTransaction()
virtual bool Execute()=0
Execute the query.
executes an sql query and retrieves results
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.