mapscript.DBFInfo¶
- class mapscript.DBFInfo¶
An object containing information about a DBF file
Attributes
nFields
int immutable Number of fields in the DBF
nRecords
int immutable Number of records in the DBF
thisown
The membership flag
Methods
- __init__()[Quellcode]¶
- getFieldDecimals(iField: int) int [Quellcode]¶
Get the field decimals of a DBF using the field index
iField
- getFieldName(iField: int) char [Quellcode]¶
Get the field name of a DBF using the field index
iField
- getFieldType(iField: int) int [Quellcode]¶
Get the field type of a DBF using the field index
iField
. Field types are one of FTString, FTInteger, FTDouble, FTInvalid
- getFieldWidth(iField: int) int [Quellcode]¶
Get the field width of a DBF using the field index
iField