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

#include <qgsvectorlayerundocommand.h>

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

Public Member Functions

 QgsVectorLayerUndoCommandAddAttribute (QgsVectorLayerEditBuffer *buffer, const QgsField &field)
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

QgsField mField
int mFieldIndex

Additional Inherited Members

- Protected Attributes inherited from QgsVectorLayerUndoCommand
QgsVectorLayerEditBuffermBuffer

Detailed Description

Definition at line 114 of file qgsvectorlayerundocommand.h.

Constructor & Destructor Documentation

QgsVectorLayerUndoCommandAddAttribute::QgsVectorLayerUndoCommandAddAttribute ( QgsVectorLayerEditBuffer buffer,
const QgsField field 
)

Member Function Documentation

void QgsVectorLayerUndoCommandAddAttribute::redo ( )
virtual
void QgsVectorLayerUndoCommandAddAttribute::undo ( )
virtual

Member Data Documentation

QgsField QgsVectorLayerUndoCommandAddAttribute::mField
private

Definition at line 123 of file qgsvectorlayerundocommand.h.

Referenced by redo().

int QgsVectorLayerUndoCommandAddAttribute::mFieldIndex
private

Definition at line 124 of file qgsvectorlayerundocommand.h.

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


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