svcore  1.9
SparseModel< PointType >::DeletePointCommand Class Reference

Command to remove a point, with undo. More...

#include <SparseModel.h>

Inheritance diagram for SparseModel< PointType >::DeletePointCommand:
Collaboration diagram for SparseModel< PointType >::DeletePointCommand:

List of all members.

Public Member Functions

 DeletePointCommand (SparseModel< PointType > *model, const PointType &point)
virtual QString getName () const
virtual void execute ()
virtual void unexecute ()
const PointType & getPoint () const

Private Attributes

SparseModel< PointType > * m_model
PointType m_point

Detailed Description

template<typename PointType>
class SparseModel< PointType >::DeletePointCommand

Command to remove a point, with undo.

Definition at line 201 of file SparseModel.h.


Constructor & Destructor Documentation

template<typename PointType>
SparseModel< PointType >::DeletePointCommand::DeletePointCommand ( SparseModel< PointType > *  model,
const PointType &  point 
) [inline]

Definition at line 204 of file SparseModel.h.


Member Function Documentation

template<typename PointType>
virtual QString SparseModel< PointType >::DeletePointCommand::getName ( ) const [inline, virtual]

Implements Command.

Definition at line 208 of file SparseModel.h.

template<typename PointType>
virtual void SparseModel< PointType >::DeletePointCommand::execute ( ) [inline, virtual]
template<typename PointType>
virtual void SparseModel< PointType >::DeletePointCommand::unexecute ( ) [inline, virtual]
template<typename PointType>
const PointType& SparseModel< PointType >::DeletePointCommand::getPoint ( ) const [inline]

Member Data Documentation

template<typename PointType>
SparseModel<PointType>* SparseModel< PointType >::DeletePointCommand::m_model [private]

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