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

Slot offset arrangement of columns and rows, once per sheet. More...

Public Member Functions

 TableSlots (SCSIZE nBcaSlots)
 
 ~TableSlots ()
 
ScBroadcastAreaSlot ** getSlots ()
 
ScBroadcastAreaSlotgetAreaSlot (SCSIZE nOff)
 Obtain slot pointer, no check on validity! It is assumed that all calls are made with the results of ComputeSlotOffset(), ComputeAreaPoints() and ComputeNextSlot() More...
 

Private Member Functions

 TableSlots (const TableSlots &)=delete
 
TableSlotsoperator= (const TableSlots &)=delete
 

Private Attributes

SCSIZE mnBcaSlots
 
std::unique_ptr< ScBroadcastAreaSlot *[]> ppSlots
 

Detailed Description

Slot offset arrangement of columns and rows, once per sheet.

+—+—+ | 0 | 3 | +—+—+ | 1 | 4 | +—+—+ | 2 | 5 | +—+—+

Definition at line 263 of file bcaslot.hxx.

Constructor & Destructor Documentation

ScBroadcastAreaSlotMachine::TableSlots::TableSlots ( SCSIZE  nBcaSlots)

Definition at line 575 of file bcaslot.cxx.

References ppSlots.

ScBroadcastAreaSlotMachine::TableSlots::~TableSlots ( )

Definition at line 582 of file bcaslot.cxx.

References ScBroadcastAreaSlotMachine::mnBcaSlots.

ScBroadcastAreaSlotMachine::TableSlots::TableSlots ( const TableSlots )
privatedelete

Member Function Documentation

ScBroadcastAreaSlot* ScBroadcastAreaSlotMachine::TableSlots::getAreaSlot ( SCSIZE  nOff)
inline

Obtain slot pointer, no check on validity! It is assumed that all calls are made with the results of ComputeSlotOffset(), ComputeAreaPoints() and ComputeNextSlot()

Definition at line 275 of file bcaslot.hxx.

References ppSlots.

ScBroadcastAreaSlot** ScBroadcastAreaSlotMachine::TableSlots::getSlots ( )
inline

Definition at line 268 of file bcaslot.hxx.

References ppSlots.

TableSlots& ScBroadcastAreaSlotMachine::TableSlots::operator= ( const TableSlots )
privatedelete

Member Data Documentation

SCSIZE ScBroadcastAreaSlotMachine::TableSlots::mnBcaSlots
private

Definition at line 278 of file bcaslot.hxx.

std::unique_ptr<ScBroadcastAreaSlot*[]> ScBroadcastAreaSlotMachine::TableSlots::ppSlots
private

Definition at line 279 of file bcaslot.hxx.

Referenced by getAreaSlot(), getSlots(), and TableSlots().


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