22 #ifndef __ODBCXX_RESULTSETMETADATA_H
23 #define __ODBCXX_RESULTSETMETADATA_H
47 std::vector<int> colLengths_;
59 return resultSet_->_getDriverInfo();
63 int _getNumericAttribute(
unsigned int col, SQLUSMALLINT attr);
64 ODBCXX_STRING _getStringAttribute(
unsigned int col, SQLUSMALLINT attr,
unsigned int maxlen =255);
67 void _fetchColumnInfo();
72 columnNoNulls = SQL_NO_NULLS,
73 columnNullable = SQL_NULLABLE,
74 columnNullableUnknown = SQL_NULLABLE_UNKNOWN
78 int getColumnCount()
const;
89 int getColumnType(
int column)
const;
94 int getPrecision(
int column)
const;
99 int getScale(
int column)
const;
104 int getColumnDisplaySize(
int column);
134 bool isAutoIncrement(
int column);
139 bool isCaseSensitive(
int column);
144 bool isCurrency(
int column);
149 bool isDefinitelyWritable(
int column);
154 int isNullable(
int column);
159 bool isReadOnly(
int column);
164 bool isSearchable(
int column);
169 bool isSigned(
int column);
174 bool isWritable(
int column);
182 #endif // __ODBCXX_RESULTSETMETADATA_H