QGIS API Documentation  3.22.4-Białowieża (ce8e65e95e)
QgsVectorFileWriter Member List

This is the complete list of members for QgsVectorFileWriter, including all inherited members.

ActionOnExistingFile enum nameQgsVectorFileWriter
addFeature(QgsFeature &feature, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags()) overrideQgsVectorFileWritervirtual
addFeatures(QgsFeatureList &features, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags()) overrideQgsVectorFileWritervirtual
QgsFeatureSink::addFeatures(QgsFeatureIterator &iterator, QgsFeatureSink::Flags flags=QgsFeatureSink::Flags())QgsFeatureSinkvirtual
addFeatureWithStyle(QgsFeature &feature, QgsFeatureRenderer *renderer, QgsUnitTypes::DistanceUnit outputUnit=QgsUnitTypes::DistanceMeters)QgsVectorFileWriter
AppendToLayerAddFields enum valueQgsVectorFileWriter
AppendToLayerNoNewFields enum valueQgsVectorFileWriter
areThereNewFieldsToCreate(const QString &datasetName, const QString &layerName, QgsVectorLayer *layer, const QgsAttributeList &attributes)QgsVectorFileWriterstatic
attrIdxToOgrIdx()QgsVectorFileWriterinline
CanAddNewFieldsToExistingLayer enum valueQgsVectorFileWriter
CanAddNewLayer enum valueQgsVectorFileWriter
CanAppendToExistingLayer enum valueQgsVectorFileWriter
Canceled enum valueQgsVectorFileWriter
CanDeleteLayer enum valueQgsVectorFileWriter
convertCodecNameForEncodingOption(const QString &codecName)QgsVectorFileWriterstatic
create(const QString &fileName, const QgsFields &fields, QgsWkbTypes::Type geometryType, const QgsCoordinateReferenceSystem &srs, const QgsCoordinateTransformContext &transformContext, const QgsVectorFileWriter::SaveVectorOptions &options, QgsFeatureSink::SinkFlags sinkFlags=QgsFeatureSink::SinkFlags(), QString *newFilename=nullptr, QString *newLayer=nullptr)QgsVectorFileWriterstatic
createEmptyGeometry(QgsWkbTypes::Type wkbType)QgsVectorFileWriterprotected
CreateOrOverwriteFile enum valueQgsVectorFileWriter
CreateOrOverwriteLayer enum valueQgsVectorFileWriter
defaultDatasetOptions(const QString &driverName)QgsVectorFileWriterstatic
defaultLayerOptions(const QString &driverName)QgsVectorFileWriterstatic
deleteShapeFile(const QString &fileName)QgsVectorFileWriterstatic
driverForExtension(const QString &extension)QgsVectorFileWriterstatic
driverMetadata(const QString &driverName, MetaData &driverMetadata)QgsVectorFileWriterstatic
editionCapabilities(const QString &datasetName)QgsVectorFileWriterstatic
EditionCapability enum nameQgsVectorFileWriter
ErrAttributeCreationFailed enum valueQgsVectorFileWriter
ErrAttributeTypeUnsupported enum valueQgsVectorFileWriter
ErrCreateDataSource enum valueQgsVectorFileWriter
ErrCreateLayer enum valueQgsVectorFileWriter
ErrDriverNotFound enum valueQgsVectorFileWriter
ErrFeatureWriteFailed enum valueQgsVectorFileWriter
ErrInvalidLayer enum valueQgsVectorFileWriter
errorMessage()QgsVectorFileWriter
ErrProjection enum valueQgsVectorFileWriter
ErrSavingMetadata enum valueQgsVectorFileWriter
FastInsert enum valueQgsFeatureSink
FeatureSymbology enum valueQgsVectorFileWriter
FieldNameSource enum nameQgsVectorFileWriter
fileFilterString(VectorFormatOptions options=SortRecommended)QgsVectorFileWriterstatic
filterForDriver(const QString &driverName)QgsVectorFileWriterstatic
Flag enum nameQgsFeatureSink
flushBuffer()QgsFeatureSinkinlinevirtual
hasError()QgsVectorFileWriter
Hidden enum valueQgsVectorFileWriter
Int enum valueQgsVectorFileWriter
lastError() const overrideQgsVectorFileWritervirtual
mAttrIdxToOgrIdxQgsVectorFileWriterprotected
mCodecQgsVectorFileWriterprotected
mDSQgsVectorFileWriterprotected
mErrorQgsVectorFileWriterprotected
mErrorMessageQgsVectorFileWriterprotected
mFieldsQgsVectorFileWriterprotected
mFieldValueConverterQgsVectorFileWriterprotected
mLayerQgsVectorFileWriterprotected
mOgrDriverNameQgsVectorFileWriterprotected
mOgrRefQgsVectorFileWriterprotected
mSymbolLayerTableQgsVectorFileWriterprotected
mSymbologyExportQgsVectorFileWriterprotected
mSymbologyScaleQgsVectorFileWriterprotected
mWkbTypeQgsVectorFileWriterprotected
NoError enum valueQgsVectorFileWriter
NoSymbology enum valueQgsVectorFileWriter
ogrDriverList(VectorFormatOptions options=SortRecommended)QgsVectorFileWriterstatic
ogrTypeFromWkbType(QgsWkbTypes::Type type)QgsVectorFileWriterstatic
operator=(const QgsVectorFileWriter &rh)=deleteQgsVectorFileWriter
OptionType enum nameQgsVectorFileWriter
Original enum valueQgsVectorFileWriter
PreferAlias enum valueQgsVectorFileWriter
QgsVectorFileWriter(const QString &vectorFileName, const QString &fileEncoding, const QgsFields &fields, QgsWkbTypes::Type geometryType, const QgsCoordinateReferenceSystem &srs=QgsCoordinateReferenceSystem(), const QString &driverName="GPKG", const QStringList &datasourceOptions=QStringList(), const QStringList &layerOptions=QStringList(), QString *newFilename=nullptr, QgsVectorFileWriter::SymbologyExport symbologyExport=QgsVectorFileWriter::NoSymbology, QgsFeatureSink::SinkFlags sinkFlags=QgsFeatureSink::SinkFlags(), QString *newLayer=nullptr, const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext(), FieldNameSource fieldNameSource=Original)QgsVectorFileWriter
QgsVectorFileWriter(const QString &vectorFileName, const QString &fileEncoding, const QgsFields &fields, QgsWkbTypes::Type geometryType, const QgsCoordinateReferenceSystem &srs, const QString &driverName, const QStringList &datasourceOptions, const QStringList &layerOptions, QString *newFilename, QgsVectorFileWriter::SymbologyExport symbologyExport, QgsVectorFileWriter::FieldValueConverter *fieldValueConverter, const QString &layerName, QgsVectorFileWriter::ActionOnExistingFile action, QString *newLayer=nullptr, const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext(), QgsFeatureSink::SinkFlags sinkFlags=QgsFeatureSink::SinkFlags(), FieldNameSource fieldNameSource=Original)QgsVectorFileWriter
QgsVectorFileWriter(const QgsVectorFileWriter &rh)=deleteQgsVectorFileWriter
QgsVectorFileWriterTask classQgsVectorFileWriterfriend
RegeneratePrimaryKey enum valueQgsFeatureSink
RollBackOnErrors enum valueQgsFeatureSink
Set enum valueQgsVectorFileWriter
setSymbologyExport(QgsVectorFileWriter::SymbologyExport symExport)QgsVectorFileWriterinline
setSymbologyScale(double scale)QgsVectorFileWriter
SinkFlag enum nameQgsFeatureSink
SkipNonSpatialFormats enum valueQgsVectorFileWriter
SortRecommended enum valueQgsVectorFileWriter
String enum valueQgsVectorFileWriter
supportedFiltersAndFormats(VectorFormatOptions options=SortRecommended)QgsVectorFileWriterstatic
supportedFormatExtensions(VectorFormatOptions options=SortRecommended)QgsVectorFileWriterstatic
supportsFeatureStyles(const QString &driverName)QgsVectorFileWriterstatic
SymbolLayerSymbology enum valueQgsVectorFileWriter
symbologyExport() constQgsVectorFileWriterinline
SymbologyExport enum nameQgsVectorFileWriter
symbologyScale() constQgsVectorFileWriterinline
targetLayerExists(const QString &datasetName, const QString &layerName)QgsVectorFileWriterstatic
TestQgsVectorFileWriter classQgsVectorFileWriterfriend
VectorFormatOption enum nameQgsVectorFileWriter
writeAsVectorFormat(QgsVectorLayer *layer, const QString &fileName, const QString &fileEncoding, const QgsCoordinateReferenceSystem &destCRS=QgsCoordinateReferenceSystem(), const QString &driverName="GPKG", bool onlySelected=false, QString *errorMessage=nullptr, const QStringList &datasourceOptions=QStringList(), const QStringList &layerOptions=QStringList(), bool skipAttributeCreation=false, QString *newFilename=nullptr, QgsVectorFileWriter::SymbologyExport symbologyExport=QgsVectorFileWriter::NoSymbology, double symbologyScale=1.0, const QgsRectangle *filterExtent=nullptr, QgsWkbTypes::Type overrideGeometryType=QgsWkbTypes::Unknown, bool forceMulti=false, bool includeZ=false, const QgsAttributeList &attributes=QgsAttributeList(), QgsVectorFileWriter::FieldValueConverter *fieldValueConverter=nullptr, QString *newLayer=nullptr)QgsVectorFileWriterstatic
writeAsVectorFormat(QgsVectorLayer *layer, const QString &fileName, const QString &fileEncoding, const QgsCoordinateTransform &ct, const QString &driverName="GPKG", bool onlySelected=false, QString *errorMessage=nullptr, const QStringList &datasourceOptions=QStringList(), const QStringList &layerOptions=QStringList(), bool skipAttributeCreation=false, QString *newFilename=nullptr, QgsVectorFileWriter::SymbologyExport symbologyExport=QgsVectorFileWriter::NoSymbology, double symbologyScale=1.0, const QgsRectangle *filterExtent=nullptr, QgsWkbTypes::Type overrideGeometryType=QgsWkbTypes::Unknown, bool forceMulti=false, bool includeZ=false, const QgsAttributeList &attributes=QgsAttributeList(), QgsVectorFileWriter::FieldValueConverter *fieldValueConverter=nullptr, QString *newLayer=nullptr)QgsVectorFileWriterstatic
writeAsVectorFormat(QgsVectorLayer *layer, const QString &fileName, const QgsVectorFileWriter::SaveVectorOptions &options, QString *newFilename=nullptr, QString *errorMessage=nullptr, QString *newLayer=nullptr)QgsVectorFileWriterstatic
writeAsVectorFormatV2(QgsVectorLayer *layer, const QString &fileName, const QgsCoordinateTransformContext &transformContext, const QgsVectorFileWriter::SaveVectorOptions &options, QString *newFilename=nullptr, QString *newLayer=nullptr, QString *errorMessage=nullptr)QgsVectorFileWriterstatic
writeAsVectorFormatV3(QgsVectorLayer *layer, const QString &fileName, const QgsCoordinateTransformContext &transformContext, const QgsVectorFileWriter::SaveVectorOptions &options, QString *errorMessage=nullptr, QString *newFilename=nullptr, QString *newLayer=nullptr)QgsVectorFileWriterstatic
WriterError enum nameQgsVectorFileWriter
~QgsFeatureSink()=defaultQgsFeatureSinkvirtual
~QgsVectorFileWriter() overrideQgsVectorFileWriter