/************************************************************************ * This file has been generated automatically from * * * * src/core/qgsfeaturestore.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsFeatureStore : QgsFeatureSink { %Docstring A container for features with the same fields and crs. %End %TypeHeaderCode #include "qgsfeaturestore.h" %End public: QgsFeatureStore(); %Docstring Constructor %End QgsFeatureStore( const QgsFields &fields, const QgsCoordinateReferenceSystem &crs ); %Docstring Constructor %End QgsFields fields() const; %Docstring Returns the store's field list. \see setFields() :rtype: QgsFields %End void setFields( const QgsFields &fields ); %Docstring Sets the store's ``fields``. Every contained feature's fields will be reset to match ``fields``. \see fields() %End QgsCoordinateReferenceSystem crs() const; %Docstring Returns the store's coordinate reference system. \see setCrs() :rtype: QgsCoordinateReferenceSystem %End void setCrs( const QgsCoordinateReferenceSystem &crs ); %Docstring Sets the store's ``crs``. \see crs() %End virtual bool addFeature( QgsFeature &feature ); virtual bool addFeatures( QgsFeatureList &features ); QgsFeatureList features() const; %Docstring Returns the list of features contained in the store. :rtype: QgsFeatureList %End void setParams( const QMap ¶meters ); %Docstring Sets a map of optional ``parameters`` for the store. \see params() %End QMap params() const; %Docstring Returns the map of optional parameters. \see setParams() :rtype: QMap %End }; typedef QList QgsFeatureStoreList; /************************************************************************ * This file has been generated automatically from * * * * src/core/qgsfeaturestore.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/