66 #include "vtkIOSQLModule.h" 86 virtual bool SetQuery(
const char *query);
87 virtual const char *GetQuery();
95 bool IsActive()
override {
return this->Active; }
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);
176 virtual bool BindParameter(
int index,
const vtkStdString &
string);
178 virtual bool BindParameter(
int index,
vtkVariant var);
184 virtual bool BindParameter(
int index,
const void *
data,
size_t length);
188 virtual bool ClearParameterBindings();
211 char* EscapeString(
const char* src,
bool addSurroundingQuotes );
234 #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 BeginTransaction()
Begin, commit, or roll back a transaction.
vtkSQLDatabase * Database
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.