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
QgsVectorLayerUndoCommandDeleteFeature Class Reference

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandDeleteFeature:
Inheritance graph
Collaboration diagram for QgsVectorLayerUndoCommandDeleteFeature:
Collaboration graph

Public Member Functions

 QgsVectorLayerUndoCommandDeleteFeature (QgsVectorLayerEditBuffer *buffer, QgsFeatureId fid)
virtual void undo ()
virtual void redo ()
- Public Member Functions inherited from QgsVectorLayerUndoCommand
 QgsVectorLayerUndoCommand (QgsVectorLayerEditBuffer *buffer)
QgsVectorLayerlayer ()
QgsGeometryCachecache ()
virtual int id () const
virtual bool mergeWith (QUndoCommand *)

Private Attributes

QgsFeatureId mFid
QgsFeature mOldAddedFeature

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand

Detailed Description

Definition at line 66 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandDeleteFeature::QgsVectorLayerUndoCommandDeleteFeature ( QgsVectorLayerEditBuffer buffer,
QgsFeatureId  fid 

Member Function Documentation

void QgsVectorLayerUndoCommandDeleteFeature::redo ( )
void QgsVectorLayerUndoCommandDeleteFeature::undo ( )

Member Data Documentation

QgsFeatureId QgsVectorLayerUndoCommandDeleteFeature::mFid

Definition at line 75 of file qgsvectorlayerundocommand.h.

Referenced by QgsVectorLayerUndoCommandDeleteFeature(), redo(), and undo().

QgsFeature QgsVectorLayerUndoCommandDeleteFeature::mOldAddedFeature

Definition at line 76 of file qgsvectorlayerundocommand.h.

Referenced by QgsVectorLayerUndoCommandDeleteFeature(), and undo().

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