Skip to content

Commit

Permalink
Add missing param doc
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Oct 31, 2018
1 parent 45d009f commit c489dc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/core/auto_generated/qgsvectorlayerexporter.sip.in
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Writes the contents of vector layer to a different datasource.
const QgsCoordinateReferenceSystem &crs, const QgsCoordinateReferenceSystem &crs,
bool overwrite = false, bool overwrite = false,
const QMap<QString, QVariant> &options = QMap<QString, QVariant>(), const QMap<QString, QVariant> &options = QMap<QString, QVariant>(),
QgsFeatureSink::SinkFlags sinkOptions = 0 ); QgsFeatureSink::SinkFlags sinkFlags = 0 );
%Docstring %Docstring
Constructor for QgsVectorLayerExporter. Constructor for QgsVectorLayerExporter.


Expand All @@ -90,6 +90,7 @@ Constructor for QgsVectorLayerExporter.
not available not available
:param overwrite: set to true to overwrite any existing data source :param overwrite: set to true to overwrite any existing data source
:param options: optional provider dataset options :param options: optional provider dataset options
:param sinkFlags: for how to add features
%End %End




Expand Down
3 changes: 2 additions & 1 deletion src/core/qgsvectorlayerexporter.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ class CORE_EXPORT QgsVectorLayerExporter : public QgsFeatureSink
* not available * not available
* \param overwrite set to true to overwrite any existing data source * \param overwrite set to true to overwrite any existing data source
* \param options optional provider dataset options * \param options optional provider dataset options
* \param sinkFlags for how to add features
*/ */
QgsVectorLayerExporter( const QString &uri, QgsVectorLayerExporter( const QString &uri,
const QString &provider, const QString &provider,
Expand All @@ -106,7 +107,7 @@ class CORE_EXPORT QgsVectorLayerExporter : public QgsFeatureSink
const QgsCoordinateReferenceSystem &crs, const QgsCoordinateReferenceSystem &crs,
bool overwrite = false, bool overwrite = false,
const QMap<QString, QVariant> &options = QMap<QString, QVariant>(), const QMap<QString, QVariant> &options = QMap<QString, QVariant>(),
QgsFeatureSink::SinkFlags sinkOptions = nullptr ); QgsFeatureSink::SinkFlags sinkFlags = nullptr );


//! QgsVectorLayerExporter cannot be copied //! QgsVectorLayerExporter cannot be copied
QgsVectorLayerExporter( const QgsVectorLayerExporter &rh ) = delete; QgsVectorLayerExporter( const QgsVectorLayerExporter &rh ) = delete;
Expand Down

0 comments on commit c489dc4

Please sign in to comment.