DDraceNetwork Docs
CEditorActionDeleteQuad Class Reference

#include <editor_actions.h>

Inheritance diagram for CEditorActionDeleteQuad:
[legend]
Collaboration diagram for CEditorActionDeleteQuad:
[legend]

Public Member Functions

 CEditorActionDeleteQuad (CEditor *pEditor, int GroupIndex, int LayerIndex, std::vector< int > const &vQuadsIndices, std::vector< CQuad > const &vDeletedQuads)
 
void Undo () override
 
void Redo () override
 
- Public Member Functions inherited from CEditorActionLayerBase
 CEditorActionLayerBase (CEditor *pEditor, int GroupIndex, int LayerIndex)
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from IEditorAction
 IEditorAction (CEditor *pEditor)
 
 IEditorAction ()=default
 
virtual ~IEditorAction ()=default
 
virtual void Undo ()=0
 
virtual void Redo ()=0
 
virtual bool IsEmpty ()
 
const char * DisplayText () const
 

Private Attributes

std::vector< int > m_vQuadsIndices
 
std::vector< CQuadm_vDeletedQuads
 

Additional Inherited Members

- Protected Attributes inherited from CEditorActionLayerBase
int m_GroupIndex
 
int m_LayerIndex
 
std::shared_ptr< CLayerm_pLayer
 
- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ CEditorActionDeleteQuad()

CEditorActionDeleteQuad::CEditorActionDeleteQuad ( CEditor pEditor,
int  GroupIndex,
int  LayerIndex,
std::vector< int > const &  vQuadsIndices,
std::vector< CQuad > const &  vDeletedQuads 
)

Member Function Documentation

◆ Redo()

void CEditorActionDeleteQuad::Redo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

◆ Undo()

void CEditorActionDeleteQuad::Undo ( )
overridevirtual

Reimplemented from CEditorActionLayerBase.

Member Data Documentation

◆ m_vDeletedQuads

std::vector<CQuad> CEditorActionDeleteQuad::m_vDeletedQuads
private

◆ m_vQuadsIndices

std::vector<int> CEditorActionDeleteQuad::m_vQuadsIndices
private

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