DDraceNetwork Docs
CEditorActionBulk Class Reference

#include <editor_actions.h>

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

Public Member Functions

 CEditorActionBulk (CEditor *pEditor, const std::vector< std::shared_ptr< IEditorAction > > &vpActions, const char *pDisplay=nullptr, bool Reverse=false)
 
void Undo () override
 
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< std::shared_ptr< IEditorAction > > m_vpActions
 
std::string m_Display
 
bool m_Reverse
 

Additional Inherited Members

- Protected Attributes inherited from IEditorAction
CEditorm_pEditor
 
char m_aDisplayText [256]
 

Constructor & Destructor Documentation

◆ CEditorActionBulk()

CEditorActionBulk::CEditorActionBulk ( CEditor pEditor,
const std::vector< std::shared_ptr< IEditorAction > > &  vpActions,
const char *  pDisplay = nullptr,
bool  Reverse = false 
)

Member Function Documentation

◆ Redo()

void CEditorActionBulk::Redo ( )
overridevirtual

Implements IEditorAction.

◆ Undo()

void CEditorActionBulk::Undo ( )
overridevirtual

Implements IEditorAction.

Member Data Documentation

◆ m_Display

std::string CEditorActionBulk::m_Display
private

◆ m_Reverse

bool CEditorActionBulk::m_Reverse
private

◆ m_vpActions

std::vector<std::shared_ptr<IEditorAction> > CEditorActionBulk::m_vpActions
private

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