QGIS API Documentation  2.2.0-Valmiera
 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
[legend]
Collaboration diagram for QgsVectorLayerUndoCommandDeleteFeature:
Collaboration graph
[legend]

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
QgsVectorLayerEditBuffermBuffer

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 ( )
virtual
void QgsVectorLayerUndoCommandDeleteFeature::undo ( )
virtual

Member Data Documentation

QgsFeatureId QgsVectorLayerUndoCommandDeleteFeature::mFid
private

Definition at line 75 of file qgsvectorlayerundocommand.h.

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

QgsFeature QgsVectorLayerUndoCommandDeleteFeature::mOldAddedFeature
private

Definition at line 76 of file qgsvectorlayerundocommand.h.

Referenced by QgsVectorLayerUndoCommandDeleteFeature(), and undo().


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