66 #include "vtkIOSQLModule.h"
86 virtual bool SetQuery(
const char *query);
87 virtual const char *GetQuery();
149 virtual bool BindParameter(
int index,
unsigned char value);
150 virtual bool BindParameter(
int index,
unsigned short value);
151 virtual bool BindParameter(
int index,
unsigned int value);
152 virtual bool BindParameter(
int index,
unsigned long value);
156 virtual bool BindParameter(
int index,
signed char value);
157 virtual bool BindParameter(
int index,
short value);
159 virtual bool BindParameter(
int index,
int value);
161 virtual bool BindParameter(
int index,
long value);
162 virtual bool BindParameter(
int index,
unsigned long long value);
163 virtual bool BindParameter(
int index,
long long value);
165 virtual bool BindParameter(
int index,
float value);
166 virtual bool BindParameter(
int index,
double value);
170 virtual bool BindParameter(
int index,
const char *stringValue);
174 virtual bool BindParameter(
int index,
const char *stringValue,
size_t length);
184 virtual bool BindParameter(
int index,
const void *
data,
size_t length);
188 virtual bool ClearParameterBindings();
211 char* EscapeString(
const char* src,
bool addSurroundingQuotes );
231 void operator=(const
vtkSQLQuery &) VTK_DELETE_FUNCTION;
234 #endif // vtkSQLQuery_h
Wrapper around std::string to keep symbols short.
An array holding vtkVariants.
virtual bool CommitTransaction()
bool IsActive()
Return true if the query is active (i.e.
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
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual bool RollbackTransaction()
virtual bool BeginTransaction()
Begin, commit, or roll back a transaction.
vtkSQLDatabase * Database
virtual bool Execute()=0
Execute the query.
executes an sql query and retrieves results