#include <qgsvectorfilewriter.h>
Interface to convert raw field values to their user-friendly value.
- Since
- QGIS 2.16
Definition at line 205 of file qgsvectorfilewriter.h.
◆ FieldValueConverter()
QgsVectorFileWriter::FieldValueConverter::FieldValueConverter |
( |
| ) |
|
|
default |
◆ ~FieldValueConverter()
virtual QgsVectorFileWriter::FieldValueConverter::~FieldValueConverter |
( |
| ) |
|
|
virtualdefault |
◆ clone()
◆ convert()
QVariant QgsVectorFileWriter::FieldValueConverter::convert |
( |
int |
fieldIdxInLayer, |
|
|
const QVariant & |
value |
|
) |
| |
|
virtual |
Convert the provided value, for field fieldIdxInLayer.
Default implementation will return provided value unmodified.
- Parameters
-
fieldIdxInLayer | field index |
value | original raw value |
- Returns
- possibly modified value.
Definition at line 85 of file qgsvectorfilewriter.cpp.
◆ fieldDefinition()
QgsField QgsVectorFileWriter::FieldValueConverter::fieldDefinition |
( |
const QgsField & |
field | ) |
|
|
virtual |
Returns a possibly modified field definition.
Default implementation will return provided field unmodified.
- Parameters
-
field | original field definition |
- Returns
- possibly modified field definition
Definition at line 80 of file qgsvectorfilewriter.cpp.
The documentation for this class was generated from the following files: