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

#include <segmenttree.hxx>

Classes

class  ForwardIterator
 
struct  RangeData
 
class  RangeIterator
 

Public Member Functions

 ScFlatBoolRowSegments (SCROW nMaxRow)
 
 ScFlatBoolRowSegments (const ScFlatBoolRowSegments &r)
 
 ~ScFlatBoolRowSegments ()
 
bool setTrue (SCROW nRow1, SCROW nRow2)
 
bool setFalse (SCROW nRow1, SCROW nRow2)
 
bool getRangeData (SCROW nRow, RangeData &rData) const
 
bool getRangeDataLeaf (SCROW nRow, RangeData &rData)
 
void removeSegment (SCROW nRow1, SCROW nRow2)
 
void insertSegment (SCROW nRow, SCROW nSize)
 
SCROW findLastTrue () const
 
void makeReady ()
 
OString dumpAsString ()
 

Private Attributes

::std::unique_ptr< ScFlatBoolSegmentsImplmpImpl
 

Detailed Description

Definition at line 29 of file segmenttree.hxx.

Constructor & Destructor Documentation

◆ ScFlatBoolRowSegments() [1/2]

ScFlatBoolRowSegments::ScFlatBoolRowSegments ( SCROW  nMaxRow)

Definition at line 425 of file segmenttree.cxx.

◆ ScFlatBoolRowSegments() [2/2]

ScFlatBoolRowSegments::ScFlatBoolRowSegments ( const ScFlatBoolRowSegments r)

Definition at line 430 of file segmenttree.cxx.

◆ ~ScFlatBoolRowSegments()

ScFlatBoolRowSegments::~ScFlatBoolRowSegments ( )

Definition at line 435 of file segmenttree.cxx.

Member Function Documentation

◆ dumpAsString()

OString ScFlatBoolRowSegments::dumpAsString ( )

Definition at line 493 of file segmenttree.cxx.

References getRangeData(), and ScFlatBoolRowSegments::RangeData::mnRow2.

◆ findLastTrue()

SCROW ScFlatBoolRowSegments::findLastTrue ( ) const

Definition at line 483 of file segmenttree.cxx.

References mpImpl.

◆ getRangeData()

bool ScFlatBoolRowSegments::getRangeData ( SCROW  nRow,
RangeData rData 
) const

Definition at line 449 of file segmenttree.cxx.

References aData, and mpImpl.

Referenced by dumpAsString(), ScTable::StyleSheetChanged(), and ScColumn::UpdateSelectionFunction().

◆ getRangeDataLeaf()

bool ScFlatBoolRowSegments::getRangeDataLeaf ( SCROW  nRow,
RangeData rData 
)

Definition at line 461 of file segmenttree.cxx.

References aData, and mpImpl.

◆ insertSegment()

void ScFlatBoolRowSegments::insertSegment ( SCROW  nRow,
SCROW  nSize 
)

Definition at line 478 of file segmenttree.cxx.

References mpImpl.

◆ makeReady()

void ScFlatBoolRowSegments::makeReady ( )

Definition at line 488 of file segmenttree.cxx.

References mpImpl.

◆ removeSegment()

void ScFlatBoolRowSegments::removeSegment ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 473 of file segmenttree.cxx.

References mpImpl.

◆ setFalse()

bool ScFlatBoolRowSegments::setFalse ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 444 of file segmenttree.cxx.

References mpImpl.

Referenced by ScMarkData::GetSelectionCover().

◆ setTrue()

bool ScFlatBoolRowSegments::setTrue ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 439 of file segmenttree.cxx.

References mpImpl.

Referenced by ScDocShell::DBaseImport(), and ScAttrArray::FindStyleSheet().

Member Data Documentation

◆ mpImpl

::std::unique_ptr<ScFlatBoolSegmentsImpl> ScFlatBoolRowSegments::mpImpl
private

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