QGIS API Documentation
2.6.0-Brighton
|
Container for features with the same fields and crs. More...
#include <qgsfeaturestore.h>
Public Member Functions | |
QgsFeatureStore () | |
Constructor. | |
QgsFeatureStore (const QgsFeatureStore &rhs) | |
Constructor. | |
QgsFeatureStore (const QgsFields &fields, const QgsCoordinateReferenceSystem &crs) | |
Constructor. | |
~QgsFeatureStore () | |
Destructor. | |
QgsFields & | fields () |
Get fields list. | |
void | setFields (const QgsFields &fields) |
Set fields. | |
QgsCoordinateReferenceSystem | crs () const |
Get crs. | |
void | setCrs (const QgsCoordinateReferenceSystem &crs) |
Set crs. | |
void | addFeature (const QgsFeature &feature) |
Add feature. | |
QgsFeatureList & | features () |
Get features list reference. | |
void | setParams (const QMap< QString, QVariant > &theParams) |
Set map of optional parameters. | |
QMap< QString, QVariant > | params () const |
Get map of optional parameters. |
Container for features with the same fields and crs.
QgsFeatureStore::QgsFeatureStore | ( | ) |
Constructor.
QgsFeatureStore::QgsFeatureStore | ( | const QgsFeatureStore & | rhs | ) |
Constructor.
QgsFeatureStore::QgsFeatureStore | ( | const QgsFields & | fields, |
const QgsCoordinateReferenceSystem & | crs | ||
) |
Constructor.
QgsFeatureStore::~QgsFeatureStore | ( | ) |
Destructor.
void QgsFeatureStore::addFeature | ( | const QgsFeature & | feature | ) |
Add feature.
Feature's fields will be set to pointer to the store fields.
feature |
|
inline |
Get crs.
|
inline |
Get features list reference.
|
inline |
Get fields list.
|
inline |
Get map of optional parameters.
|
inline |
Set crs.
void QgsFeatureStore::setFields | ( | const QgsFields & | fields | ) |
Set fields.
Resets feauters fields to pointer to new internal fields.
|
inline |
Set map of optional parameters.