Lines Matching refs:OGRFieldType

203 static ColumnType toColumnType(OGRFieldType type, OGRFieldSubType subType)  in toColumnType()
206 case OGRFieldType::OFTInteger: in toColumnType()
208 case OGRFieldType::OFTInteger64: return ColumnType::Long; in toColumnType()
209 case OGRFieldType::OFTReal: in toColumnType()
211 case OGRFieldType::OFTString: return ColumnType::String; in toColumnType()
212 case OGRFieldType::OFTDate: return ColumnType::DateTime; in toColumnType()
213 case OGRFieldType::OFTTime: return ColumnType::DateTime; in toColumnType()
214 case OGRFieldType::OFTDateTime: return ColumnType::DateTime; in toColumnType()
215 case OGRFieldType::OFTBinary: return ColumnType::Binary; in toColumnType()
221 static OGRFieldType toOGRFieldType(ColumnType type, OGRFieldSubType& eSubType) in toOGRFieldType()
225 case ColumnType::Byte: return OGRFieldType::OFTInteger; in toOGRFieldType()
226 case ColumnType::UByte: return OGRFieldType::OFTInteger; in toOGRFieldType()
227 case ColumnType::Bool: eSubType = OFSTBoolean; return OGRFieldType::OFTInteger; in toOGRFieldType()
228 case ColumnType::Short: eSubType = OFSTInt16; return OGRFieldType::OFTInteger; in toOGRFieldType()
229 case ColumnType::UShort: return OGRFieldType::OFTInteger; in toOGRFieldType()
230 case ColumnType::Int: return OGRFieldType::OFTInteger; in toOGRFieldType()
231 case ColumnType::UInt: return OGRFieldType::OFTInteger64; in toOGRFieldType()
232 case ColumnType::Long: return OGRFieldType::OFTInteger64; in toOGRFieldType()
233 case ColumnType::ULong: return OGRFieldType::OFTReal; in toOGRFieldType()
234 case ColumnType::Float: eSubType = OFSTFloat32; return OGRFieldType::OFTReal; in toOGRFieldType()
235 case ColumnType::Double: return OGRFieldType::OFTReal; in toOGRFieldType()
236 case ColumnType::String: return OGRFieldType::OFTString; in toOGRFieldType()
237 case ColumnType::Json: return OGRFieldType::OFTString; in toOGRFieldType()
238 case ColumnType::DateTime: return OGRFieldType::OFTDateTime; in toOGRFieldType()
239 case ColumnType::Binary: return OGRFieldType::OFTBinary; in toOGRFieldType()
241 return OGRFieldType::OFTString; in toOGRFieldType()
1139 case OGRFieldType::OFTInteger: { in ICreateFeature()
1159 case OGRFieldType::OFTInteger64: { in ICreateFeature()
1165 case OGRFieldType::OFTReal: { in ICreateFeature()
1180 case OGRFieldType::OFTDate: in ICreateFeature()
1181 case OGRFieldType::OFTTime: in ICreateFeature()
1182 case OGRFieldType::OFTDateTime: { in ICreateFeature()
1192 case OGRFieldType::OFTString: { in ICreateFeature()
1216 case OGRFieldType::OFTBinary: { in ICreateFeature()