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

#include <XclExpChangeTrack.hxx>

Public Member Functions

 XclExpChTrTabIdBuffer (sal_uInt16 nCount)
 
 XclExpChTrTabIdBuffer (const XclExpChTrTabIdBuffer &rCopy)
 
 ~XclExpChTrTabIdBuffer ()
 
void InitFill (sal_uInt16 nIndex)
 
void InitFillup ()
 
sal_uInt16 GetId (sal_uInt16 nIndex) const
 
bool HasId (sal_uInt16 nIndex) const
 
void Remove ()
 
sal_uInt16 GetBufferCount () const
 
void GetBufferCopy (sal_uInt16 *pDest) const
 

Private Attributes

std::unique_ptr< sal_uInt16[]> pBuffer
 
sal_uInt16 * pLast
 
sal_uInt16 nBufSize
 
sal_uInt16 nLastId
 

Detailed Description

Definition at line 290 of file XclExpChangeTrack.hxx.

Constructor & Destructor Documentation

◆ XclExpChTrTabIdBuffer() [1/2]

XclExpChTrTabIdBuffer::XclExpChTrTabIdBuffer ( sal_uInt16  nCount)

Definition at line 526 of file XclExpChangeTrack.cxx.

References nBufSize, nCount, pBuffer, and pLast.

◆ XclExpChTrTabIdBuffer() [2/2]

XclExpChTrTabIdBuffer::XclExpChTrTabIdBuffer ( const XclExpChTrTabIdBuffer rCopy)

Definition at line 535 of file XclExpChangeTrack.cxx.

References nBufSize, pBuffer, and pLast.

◆ ~XclExpChTrTabIdBuffer()

XclExpChTrTabIdBuffer::~XclExpChTrTabIdBuffer ( )

Definition at line 544 of file XclExpChangeTrack.cxx.

Member Function Documentation

◆ GetBufferCopy()

void XclExpChTrTabIdBuffer::GetBufferCopy ( sal_uInt16 *  pDest) const
inline

◆ GetBufferCount()

sal_uInt16 XclExpChTrTabIdBuffer::GetBufferCount ( ) const
inline

◆ GetId()

sal_uInt16 XclExpChTrTabIdBuffer::GetId ( sal_uInt16  nIndex) const

Definition at line 574 of file XclExpChangeTrack.cxx.

References nBufSize, nIndex, and pBuffer.

Referenced by XclExpChTrAction::GetTabId(), and XclExpChTrData::WriteFormula().

◆ HasId()

bool XclExpChTrTabIdBuffer::HasId ( sal_uInt16  nIndex) const

Definition at line 580 of file XclExpChangeTrack.cxx.

References nBufSize, and nIndex.

Referenced by lcl_IsDeletedTab().

◆ InitFill()

void XclExpChTrTabIdBuffer::InitFill ( sal_uInt16  nIndex)

Definition at line 548 of file XclExpChangeTrack.cxx.

References nIndex, nLastId, pBuffer, and pLast.

Referenced by XclExpChangeTrack::XclExpChangeTrack().

◆ InitFillup()

void XclExpChTrTabIdBuffer::InitFillup ( )

Definition at line 565 of file XclExpChangeTrack.cxx.

References nBufSize, nLastId, pBuffer, and pLast.

Referenced by XclExpChangeTrack::XclExpChangeTrack().

◆ Remove()

void XclExpChTrTabIdBuffer::Remove ( )

Definition at line 585 of file XclExpChangeTrack.cxx.

References nLastId, pBuffer, and pLast.

Referenced by XclExpChangeTrack::PushActionRecord().

Member Data Documentation

◆ nBufSize

sal_uInt16 XclExpChTrTabIdBuffer::nBufSize
private

Definition at line 296 of file XclExpChangeTrack.hxx.

Referenced by GetId(), HasId(), InitFillup(), and XclExpChTrTabIdBuffer().

◆ nLastId

sal_uInt16 XclExpChTrTabIdBuffer::nLastId
private

Definition at line 297 of file XclExpChangeTrack.hxx.

Referenced by InitFill(), InitFillup(), and Remove().

◆ pBuffer

std::unique_ptr<sal_uInt16[]> XclExpChTrTabIdBuffer::pBuffer
private

◆ pLast

sal_uInt16* XclExpChTrTabIdBuffer::pLast
private

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