35 #ifndef vtkODBCQuery_h
36 #define vtkODBCQuery_h
38 #include "vtkIOODBCModule.h"
45 class vtkODBCQueryInternals;
95 bool SetQuery(
const char *queryString);
140 vtkSetStringMacro(LastErrorText);
141 vtkSetStringMacro(QueryText);
142 vtkGetStringMacro(QueryText);
150 void ClearCurrentRow();
151 bool CacheCurrentRow();
153 bool CacheTimeColumn(
int column);
154 bool CacheIntervalColumn(
int column);
155 bool CacheCharColumn(
int column);
156 bool CacheLongLongColumn(
int column);
157 bool CacheBinaryColumn(
int column);
158 bool CacheBooleanColumn(
int column);
159 bool CacheStringColumn(
int column);
160 bool CacheWideStringColumn(
int column);
161 bool CacheDecimalColumn(
int column);
162 bool CacheNumericColumn(
int column);
163 bool CacheIntColumn(
int column);
164 bool CacheFloatColumn(
int column);
165 bool CacheDoubleColumn(
int column);
167 vtkODBCQueryInternals *Internals;
172 #endif // vtkODBCQuery_h
virtual bool SetQuery(const char *query)
Wrapper around std::string to keep symbols short.
An array holding vtkVariants.
virtual const char * GetFieldName(int i)=0
virtual const char * GetQuery()
virtual bool BindParameter(int index, unsigned char value)
friend class vtkODBCQuery
virtual bool CommitTransaction()
void PrintSelf(ostream &os, vtkIndent indent)
A atomic type representing the union of many types.
virtual bool HasError()=0
Simple class to hide ODBC structures.
a simple class to control print indentation
maintain an ODBC connection to a SQL database
virtual int GetNumberOfFields()=0
virtual bool RollbackTransaction()
virtual bool BeginTransaction()
virtual int GetFieldType(int i)=0
virtual bool ClearParameterBindings()
virtual vtkVariant DataValue(vtkIdType c)=0
executes an sql query and retrieves results
virtual const char * GetLastErrorText()=0
vtkSQLQuery implementation for ODBC connections to databases