35 #ifndef __vtkODBCQuery_h
36 #define __vtkODBCQuery_h
44 class vtkODBCQueryInternals;
94 bool SetQuery(
const char *queryString);
139 vtkSetStringMacro(LastErrorText);
140 vtkSetStringMacro(QueryText);
141 vtkGetStringMacro(QueryText);
149 void ClearCurrentRow();
150 bool CacheCurrentRow();
152 bool CacheTimeColumn(
int column);
153 bool CacheIntervalColumn(
int column);
154 bool CacheCharColumn(
int column);
155 bool CacheLongLongColumn(
int column);
156 bool CacheBinaryColumn(
int column);
157 bool CacheBooleanColumn(
int column);
158 bool CacheStringColumn(
int column);
159 bool CacheWideStringColumn(
int column);
160 bool CacheDecimalColumn(
int column);
161 bool CacheNumericColumn(
int column);
162 bool CacheIntColumn(
int column);
163 bool CacheFloatColumn(
int column);
164 bool CacheDoubleColumn(
int column);
166 vtkODBCQueryInternals *Internals;
171 #endif // __vtkODBCQuery_h
virtual bool SetQuery(const char *query)
Wrapper around vtkstd::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