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

#include <qgsvectorlayerundocommand.h>

Inheritance diagram for QgsVectorLayerUndoCommandAddFeature:
Inheritance graph
[legend]
Collaboration diagram for QgsVectorLayerUndoCommandAddFeature:
Collaboration graph
[legend]

Public Member Functions

 QgsVectorLayerUndoCommandAddFeature (QgsVectorLayerEditBuffer *buffer, QgsFeature &f)
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

QgsFeature mFeature

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand
QgsVectorLayerEditBuffermBuffer

Detailed Description

Definition at line 53 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandAddFeature::QgsVectorLayerUndoCommandAddFeature ( QgsVectorLayerEditBuffer buffer,
QgsFeature f 
)

Definition at line 27 of file qgsvectorlayerundocommand.cpp.

References mFeature, QgsDebugMsg, and QgsFeature::setFeatureId().

Member Function Documentation

void QgsVectorLayerUndoCommandAddFeature::redo ( )
virtual
void QgsVectorLayerUndoCommandAddFeature::undo ( )
virtual

Member Data Documentation

QgsFeature QgsVectorLayerUndoCommandAddFeature::mFeature
private

Definition at line 62 of file qgsvectorlayerundocommand.h.

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


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