LibreOffice Module sc (master)  1
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
ScChangeActionLinkEntry Class Reference

A link/connection/dependency between change actions. More...

#include <chgtrack.hxx>

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

Public Member Functions

 ScChangeActionLinkEntry (ScChangeActionLinkEntry **ppPrevP, ScChangeAction *pActionP)
 
virtual ~ScChangeActionLinkEntry ()
 
void SetLink (ScChangeActionLinkEntry *pLinkP)
 
void UnLink ()
 
void Remove ()
 
const ScChangeActionLinkEntryGetNext () const
 
ScChangeActionLinkEntryGetNext ()
 
const ScChangeActionGetAction () const
 
ScChangeActionGetAction ()
 

Protected Attributes

ScChangeActionLinkEntrypNext
 
ScChangeActionLinkEntry ** ppPrev
 
ScChangeActionpAction
 
ScChangeActionLinkEntrypLink
 

Private Member Functions

 ScChangeActionLinkEntry (const ScChangeActionLinkEntry &)=delete
 
ScChangeActionLinkEntryoperator= (const ScChangeActionLinkEntry &)=delete
 

Detailed Description

A link/connection/dependency between change actions.

Upon construction inserts itself as the head of a chain / linked list, respectively between existing link entries.

Upon destruction removes itself from the list and connects the previous and next entry, if it was the first entry automatically maintaining the head pointer to the list.

ppPrev == &previous->pNext or address of pointer to head of linked list, ppPrev == this

Definition at line 103 of file chgtrack.hxx.

Constructor & Destructor Documentation

ScChangeActionLinkEntry::ScChangeActionLinkEntry ( const ScChangeActionLinkEntry )
privatedelete
ScChangeActionLinkEntry::ScChangeActionLinkEntry ( ScChangeActionLinkEntry **  ppPrevP,
ScChangeAction pActionP 
)
inline

Definition at line 117 of file chgtrack.hxx.

References pNext, and ppPrev.

virtual ScChangeActionLinkEntry::~ScChangeActionLinkEntry ( )
inlinevirtual

Definition at line 130 of file chgtrack.hxx.

References p, pLink, Remove(), and UnLink().

Member Function Documentation

const ScChangeAction* ScChangeActionLinkEntry::GetAction ( ) const
inline
ScChangeAction* ScChangeActionLinkEntry::GetAction ( )
inline

Definition at line 171 of file chgtrack.hxx.

References pAction.

const ScChangeActionLinkEntry* ScChangeActionLinkEntry::GetNext ( ) const
inline
ScChangeActionLinkEntry* ScChangeActionLinkEntry::GetNext ( )
inline

Definition at line 169 of file chgtrack.hxx.

References pNext.

ScChangeActionLinkEntry& ScChangeActionLinkEntry::operator= ( const ScChangeActionLinkEntry )
privatedelete
void ScChangeActionLinkEntry::Remove ( )
inline

Definition at line 158 of file chgtrack.hxx.

References ppPrev.

Referenced by ~ScChangeActionLinkEntry().

void ScChangeActionLinkEntry::SetLink ( ScChangeActionLinkEntry pLinkP)
inline

Definition at line 139 of file chgtrack.hxx.

References pLink, and UnLink().

Referenced by ScChangeAction::AddLink(), and ScChangeAction::SetDeletedIn().

void ScChangeActionLinkEntry::UnLink ( )
inline

Definition at line 149 of file chgtrack.hxx.

References pLink.

Referenced by ScChangeActionMove::Reject(), SetLink(), and ~ScChangeActionLinkEntry().

Member Data Documentation

ScChangeAction* ScChangeActionLinkEntry::pAction
protected

Definition at line 112 of file chgtrack.hxx.

Referenced by GetAction().

ScChangeActionLinkEntry* ScChangeActionLinkEntry::pLink
protected

Definition at line 113 of file chgtrack.hxx.

Referenced by SetLink(), UnLink(), and ~ScChangeActionLinkEntry().

ScChangeActionLinkEntry* ScChangeActionLinkEntry::pNext
protected

Definition at line 110 of file chgtrack.hxx.

Referenced by GetNext(), and ScChangeActionLinkEntry().

ScChangeActionLinkEntry** ScChangeActionLinkEntry::ppPrev
protected

Definition at line 111 of file chgtrack.hxx.

Referenced by Remove(), and ScChangeActionLinkEntry().


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