QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
|
Interface to convert raw field values to their user-friendly value. More...
#include <qgsvectorfilewriter.h>
Public Member Functions | |
FieldValueConverter ()=default | |
Constructor. More... | |
virtual | ~FieldValueConverter ()=default |
virtual QgsVectorFileWriter::FieldValueConverter * | clone () const |
Creates a clone of the FieldValueConverter. More... | |
virtual QVariant | convert (int fieldIdxInLayer, const QVariant &value) |
Convert the provided value, for field fieldIdxInLayer. More... | |
virtual QgsField | fieldDefinition (const QgsField &field) |
Returns a possibly modified field definition. More... | |
Interface to convert raw field values to their user-friendly value.
Definition at line 217 of file qgsvectorfilewriter.h.
|
default |
Constructor.
|
virtualdefault |
|
virtual |
Creates a clone of the FieldValueConverter.
Definition at line 66 of file qgsvectorfilewriter.cpp.
|
virtual |
Convert the provided value, for field fieldIdxInLayer.
Default implementation will return provided value unmodified.
fieldIdxInLayer | field index |
value | original raw value |
Definition at line 61 of file qgsvectorfilewriter.cpp.
|
virtual |
Returns a possibly modified field definition.
Default implementation will return provided field unmodified.
field | original field definition |
Definition at line 56 of file qgsvectorfilewriter.cpp.