KiCad PCB EDA Suite
Loading...
Searching...
No Matches
UNDO_REDO_CONTAINER Class Reference

A holder to handle a list of undo (or redo) commands. More...

#include <undo_redo_container.h>

Public Member Functions

 UNDO_REDO_CONTAINER ()
 
 ~UNDO_REDO_CONTAINER ()
 
void PushCommand (PICKED_ITEMS_LIST *aCommand)
 
PICKED_ITEMS_LISTPopCommand ()
 
void ClearCommandList ()
 

Public Attributes

std::vector< PICKED_ITEMS_LIST * > m_CommandsList
 

Detailed Description

A holder to handle a list of undo (or redo) commands.

Definition at line 329 of file undo_redo_container.h.

Constructor & Destructor Documentation

◆ UNDO_REDO_CONTAINER()

UNDO_REDO_CONTAINER::UNDO_REDO_CONTAINER ( )

Definition at line 328 of file undo_redo_container.cpp.

◆ ~UNDO_REDO_CONTAINER()

UNDO_REDO_CONTAINER::~UNDO_REDO_CONTAINER ( )

Definition at line 333 of file undo_redo_container.cpp.

References ClearCommandList().

Member Function Documentation

◆ ClearCommandList()

◆ PopCommand()

PICKED_ITEMS_LIST * UNDO_REDO_CONTAINER::PopCommand ( )

◆ PushCommand()

void UNDO_REDO_CONTAINER::PushCommand ( PICKED_ITEMS_LIST aCommand)

Member Data Documentation

◆ m_CommandsList


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