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__()[sorgente]¶
- getFieldDecimals(iField: int) int [sorgente]¶
Get the field decimals of a DBF using the field index
iField
- getFieldName(iField: int) char [sorgente]¶
Get the field name of a DBF using the field index
iField
- getFieldType(iField: int) int [sorgente]¶
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 [sorgente]¶
Get the field width of a DBF using the field index
iField