50 #include "vtkIOSQLModule.h"
54 VTK_ABI_NAMESPACE_BEGIN
71 virtual bool SetQuery(
const char* query);
72 virtual const char* GetQuery();
80 bool IsActive()
override {
return this->Active; }
134 virtual bool BindParameter(
int index,
unsigned char value);
135 virtual bool BindParameter(
int index,
unsigned short value);
136 virtual bool BindParameter(
int index,
unsigned int value);
137 virtual bool BindParameter(
int index,
unsigned long value);
141 virtual bool BindParameter(
int index,
signed char value);
142 virtual bool BindParameter(
int index,
short value);
144 virtual bool BindParameter(
int index,
int value);
146 virtual bool BindParameter(
int index,
long value);
147 virtual bool BindParameter(
int index,
unsigned long long value);
148 virtual bool BindParameter(
int index,
long long value);
150 virtual bool BindParameter(
int index,
float value);
151 virtual bool BindParameter(
int index,
double value);
155 virtual bool BindParameter(
int index,
const char* stringValue);
159 virtual bool BindParameter(
int index,
const char* stringValue,
size_t length);
169 virtual bool BindParameter(
int index,
const void*
data,
size_t length);
173 virtual bool ClearParameterBindings();
196 char* EscapeString(
const char* src,
bool addSurroundingQuotes);
219 VTK_ABI_NAMESPACE_END
220 #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 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.