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

#include <segmenttree.hxx>

Classes

class  ForwardIterator
 
struct  RangeData
 

Public Member Functions

 ScFlatUInt16RowSegments (SCROW nMaxRow, sal_uInt16 nDefault)
 
 ScFlatUInt16RowSegments (const ScFlatUInt16RowSegments &r)
 
 ~ScFlatUInt16RowSegments ()
 
void setValue (SCROW nRow1, SCROW nRow2, sal_uInt16 nValue)
 
void setValueIf (SCROW nRow1, SCROW nRow2, sal_uInt16 nValue, const std::function< bool(sal_uInt16)> &rPredicate)
 
sal_uInt16 getValue (SCROW nRow)
 
sal_uInt32 getSumValue (SCROW nRow1, SCROW nRow2)
 
bool getRangeData (SCROW nRow, RangeData &rData)
 
void removeSegment (SCROW nRow1, SCROW nRow2)
 
void insertSegment (SCROW nRow, SCROW nSize)
 
SCROW findLastTrue (sal_uInt16 nValue) const
 
void enableTreeSearch (bool bEnable)
 
OString dumpAsString ()
 

Private Attributes

::std::unique_ptr< ScFlatUInt16SegmentsImplmpImpl
 

Detailed Description

Definition at line 113 of file segmenttree.hxx.

Constructor & Destructor Documentation

ScFlatUInt16RowSegments::ScFlatUInt16RowSegments ( SCROW  nMaxRow,
sal_uInt16  nDefault 
)

Definition at line 533 of file segmenttree.cxx.

ScFlatUInt16RowSegments::ScFlatUInt16RowSegments ( const ScFlatUInt16RowSegments r)

Definition at line 538 of file segmenttree.cxx.

ScFlatUInt16RowSegments::~ScFlatUInt16RowSegments ( )

Definition at line 543 of file segmenttree.cxx.

Member Function Documentation

OString ScFlatUInt16RowSegments::dumpAsString ( )

Definition at line 599 of file segmenttree.cxx.

References getRangeData().

void ScFlatUInt16RowSegments::enableTreeSearch ( bool  bEnable)

Definition at line 589 of file segmenttree.cxx.

References mpImpl.

SCROW ScFlatUInt16RowSegments::findLastTrue ( sal_uInt16  nValue) const

Definition at line 584 of file segmenttree.cxx.

References mpImpl.

bool ScFlatUInt16RowSegments::getRangeData ( SCROW  nRow,
RangeData rData 
)

Definition at line 562 of file segmenttree.cxx.

References mpImpl.

Referenced by dumpAsString().

sal_uInt32 ScFlatUInt16RowSegments::getSumValue ( SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 557 of file segmenttree.cxx.

References mpImpl.

sal_uInt16 ScFlatUInt16RowSegments::getValue ( SCROW  nRow)

Definition at line 552 of file segmenttree.cxx.

References mpImpl.

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

Definition at line 579 of file segmenttree.cxx.

References mpImpl.

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

Definition at line 574 of file segmenttree.cxx.

References mpImpl.

void ScFlatUInt16RowSegments::setValue ( SCROW  nRow1,
SCROW  nRow2,
sal_uInt16  nValue 
)

Definition at line 547 of file segmenttree.cxx.

References mpImpl.

void ScFlatUInt16RowSegments::setValueIf ( SCROW  nRow1,
SCROW  nRow2,
sal_uInt16  nValue,
const std::function< bool(sal_uInt16)> &  rPredicate 
)

Definition at line 594 of file segmenttree.cxx.

References mpImpl.

Member Data Documentation

::std::unique_ptr<ScFlatUInt16SegmentsImpl> ScFlatUInt16RowSegments::mpImpl
private

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