QGIS API Documentation  2.0.1-Dufour
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
QgsFeatureStore Class Reference

Container for features with the same fields and crs. More...

#include <qgsfeaturestore.h>

Collaboration diagram for QgsFeatureStore:
Collaboration graph
[legend]

Public Member Functions

 QgsFeatureStore ()
 Constructor.
 QgsFeatureStore (const QgsFeatureStore &rhs)
 Constructor.
 QgsFeatureStore (const QgsFields &fields, const QgsCoordinateReferenceSystem &crs)
 Constructor.
 ~QgsFeatureStore ()
 Destructor.
QgsFieldsfields ()
 Get fields list.
void setFields (const QgsFields &fields)
 Set fields.
QgsCoordinateReferenceSystem crs () const
 Get crs.
void setCrs (const QgsCoordinateReferenceSystem &crs)
 Set crs.
QgsFeatureListfeatures ()
 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.

Private Attributes

QgsFields mFields
QgsCoordinateReferenceSystem mCrs
QgsFeatureList mFeatures
QMap< QString, QVariant > mParams

Detailed Description

Container for features with the same fields and crs.

Definition at line 30 of file qgsfeaturestore.h.

Constructor & Destructor Documentation

QgsFeatureStore::QgsFeatureStore ( )

Constructor.

Definition at line 18 of file qgsfeaturestore.cpp.

QgsFeatureStore::QgsFeatureStore ( const QgsFeatureStore rhs)

Constructor.

Definition at line 22 of file qgsfeaturestore.cpp.

QgsFeatureStore::QgsFeatureStore ( const QgsFields fields,
const QgsCoordinateReferenceSystem crs 
)

Constructor.

Definition at line 30 of file qgsfeaturestore.cpp.

QgsFeatureStore::~QgsFeatureStore ( )

Destructor.

Definition at line 36 of file qgsfeaturestore.cpp.

Member Function Documentation

QgsCoordinateReferenceSystem QgsFeatureStore::crs ( ) const
inline

Get crs.

Definition at line 52 of file qgsfeaturestore.h.

QgsFeatureList& QgsFeatureStore::features ( )
inline

Get features list reference.

Definition at line 58 of file qgsfeaturestore.h.

Referenced by QgsMapToolIdentify::identifyRasterLayer().

QgsFields& QgsFeatureStore::fields ( )
inline

Get fields list.

Definition at line 46 of file qgsfeaturestore.h.

Referenced by QgsMapToolIdentify::identifyRasterLayer().

QMap<QString, QVariant> QgsFeatureStore::params ( ) const
inline

Get map of optional parameters.

Definition at line 64 of file qgsfeaturestore.h.

Referenced by QgsMapToolIdentify::identifyRasterLayer().

void QgsFeatureStore::setCrs ( const QgsCoordinateReferenceSystem crs)
inline

Set crs.

Definition at line 55 of file qgsfeaturestore.h.

void QgsFeatureStore::setFields ( const QgsFields fields)
inline

Set fields.

Definition at line 49 of file qgsfeaturestore.h.

void QgsFeatureStore::setParams ( const QMap< QString, QVariant > &  theParams)
inline

Set map of optional parameters.

Definition at line 61 of file qgsfeaturestore.h.

Member Data Documentation

QgsCoordinateReferenceSystem QgsFeatureStore::mCrs
private

Definition at line 69 of file qgsfeaturestore.h.

QgsFeatureList QgsFeatureStore::mFeatures
private

Definition at line 71 of file qgsfeaturestore.h.

QgsFields QgsFeatureStore::mFields
private

Definition at line 67 of file qgsfeaturestore.h.

QMap<QString, QVariant> QgsFeatureStore::mParams
private

Definition at line 74 of file qgsfeaturestore.h.


The documentation for this class was generated from the following files: