LibreOffice Module sc (master)
1
|
#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< ScFlatUInt16SegmentsImpl > | mpImpl |
Definition at line 113 of file segmenttree.hxx.
ScFlatUInt16RowSegments::ScFlatUInt16RowSegments | ( | SCROW | nMaxRow, |
sal_uInt16 | nDefault | ||
) |
Definition at line 532 of file segmenttree.cxx.
ScFlatUInt16RowSegments::ScFlatUInt16RowSegments | ( | const ScFlatUInt16RowSegments & | r | ) |
Definition at line 537 of file segmenttree.cxx.
ScFlatUInt16RowSegments::~ScFlatUInt16RowSegments | ( | ) |
Definition at line 542 of file segmenttree.cxx.
OString ScFlatUInt16RowSegments::dumpAsString | ( | ) |
Definition at line 598 of file segmenttree.cxx.
References getRangeData().
void ScFlatUInt16RowSegments::enableTreeSearch | ( | bool | bEnable | ) |
Definition at line 588 of file segmenttree.cxx.
References mpImpl.
SCROW ScFlatUInt16RowSegments::findLastTrue | ( | sal_uInt16 | nValue | ) | const |
Definition at line 583 of file segmenttree.cxx.
References mpImpl.
Definition at line 556 of file segmenttree.cxx.
References mpImpl.
sal_uInt16 ScFlatUInt16RowSegments::getValue | ( | SCROW | nRow | ) |
Definition at line 551 of file segmenttree.cxx.
References mpImpl.
Definition at line 578 of file segmenttree.cxx.
References mpImpl.
Definition at line 573 of file segmenttree.cxx.
References mpImpl.
Definition at line 546 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 593 of file segmenttree.cxx.
References mpImpl.
|
private |
Definition at line 159 of file segmenttree.hxx.
Referenced by enableTreeSearch(), findLastTrue(), getRangeData(), getSumValue(), getValue(), insertSegment(), removeSegment(), setValue(), and setValueIf().