LibreOffice Module svl (master) 1
Public Member Functions | Public Attributes | List of all members
SfxUndoArray Struct Reference

do not make use of these implementation details, unless you really really have to! More...

#include <undo.hxx>

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

Public Member Functions

 SfxUndoArray (size_t nMax=0)
 
virtual ~SfxUndoArray ()
 
SfxUndoArrayoperator= (SfxUndoArray const &)=delete
 
 SfxUndoArray (SfxUndoArray const &)=delete
 
SfxUndoActionGetUndoAction (size_t idx)
 
std::unique_ptr< SfxUndoActionRemove (int idx)
 
void Remove (size_t i_pos, size_t i_count)
 
void Insert (std::unique_ptr< SfxUndoAction > i_action, size_t i_pos)
 

Public Attributes

std::vector< MarkedUndoActionmaUndoActions
 
size_t nMaxUndoActions
 
size_t nCurUndoAction
 
SfxUndoArraypFatherUndoArray
 

Detailed Description

do not make use of these implementation details, unless you really really have to!

Definition at line 100 of file undo.hxx.

Constructor & Destructor Documentation

◆ SfxUndoArray() [1/2]

SfxUndoArray::SfxUndoArray ( size_t  nMax = 0)
inline

Definition at line 107 of file undo.hxx.

◆ ~SfxUndoArray()

SfxUndoArray::~SfxUndoArray ( )
virtual

Definition at line 1387 of file undo.cxx.

◆ SfxUndoArray() [2/2]

SfxUndoArray::SfxUndoArray ( SfxUndoArray const &  )
delete

Member Function Documentation

◆ GetUndoAction()

SfxUndoAction * SfxUndoArray::GetUndoAction ( size_t  idx)
inline

Definition at line 114 of file undo.hxx.

References idx.

◆ Insert()

void SfxUndoArray::Insert ( std::unique_ptr< SfxUndoAction i_action,
size_t  i_pos 
)

Definition at line 149 of file undo.cxx.

References maUndoActions.

Referenced by SfxUndoManager::ImplLeaveListAction().

◆ operator=()

SfxUndoArray & SfxUndoArray::operator= ( SfxUndoArray const &  )
delete

◆ Remove() [1/2]

std::unique_ptr< SfxUndoAction > SfxUndoArray::Remove ( int  idx)

Definition at line 137 of file undo.cxx.

References idx, and maUndoActions.

Referenced by SfxUndoManager::ImplClearRedo().

◆ Remove() [2/2]

void SfxUndoArray::Remove ( size_t  i_pos,
size_t  i_count 
)

Definition at line 144 of file undo.cxx.

References maUndoActions.

Member Data Documentation

◆ maUndoActions

std::vector<MarkedUndoAction> SfxUndoArray::maUndoActions

◆ nCurUndoAction

size_t SfxUndoArray::nCurUndoAction

◆ nMaxUndoActions

size_t SfxUndoArray::nMaxUndoActions

Definition at line 103 of file undo.hxx.

Referenced by SfxListUndoAction::SfxListUndoAction().

◆ pFatherUndoArray

SfxUndoArray* SfxUndoArray::pFatherUndoArray

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