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_uInt64 | 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) |
void | makeReady () |
OString | dumpAsString () |
Private Attributes | |
::std::unique_ptr< ScFlatUInt16SegmentsImpl > | mpImpl |
Definition at line 118 of file segmenttree.hxx.
ScFlatUInt16RowSegments::ScFlatUInt16RowSegments | ( | SCROW | nMaxRow, |
sal_uInt16 | nDefault | ||
) |
Definition at line 623 of file segmenttree.cxx.
ScFlatUInt16RowSegments::ScFlatUInt16RowSegments | ( | const ScFlatUInt16RowSegments & | r | ) |
Definition at line 628 of file segmenttree.cxx.
ScFlatUInt16RowSegments::~ScFlatUInt16RowSegments | ( | ) |
Definition at line 633 of file segmenttree.cxx.
OString ScFlatUInt16RowSegments::dumpAsString | ( | ) |
Definition at line 694 of file segmenttree.cxx.
References getRangeData(), and ScFlatUInt16RowSegments::RangeData::mnRow2.
void ScFlatUInt16RowSegments::enableTreeSearch | ( | bool | bEnable | ) |
Definition at line 679 of file segmenttree.cxx.
References mpImpl.
SCROW ScFlatUInt16RowSegments::findLastTrue | ( | sal_uInt16 | nValue | ) | const |
Definition at line 674 of file segmenttree.cxx.
Definition at line 652 of file segmenttree.cxx.
Referenced by dumpAsString().
Definition at line 647 of file segmenttree.cxx.
References mpImpl.
sal_uInt16 ScFlatUInt16RowSegments::getValue | ( | SCROW | nRow | ) |
Definition at line 642 of file segmenttree.cxx.
References mpImpl.
Definition at line 669 of file segmenttree.cxx.
References mpImpl.
void ScFlatUInt16RowSegments::makeReady | ( | ) |
Definition at line 689 of file segmenttree.cxx.
References mpImpl.
Definition at line 664 of file segmenttree.cxx.
References mpImpl.
Definition at line 637 of file segmenttree.cxx.
void ScFlatUInt16RowSegments::setValueIf | ( | SCROW | nRow1, |
SCROW | nRow2, | ||
sal_uInt16 | nValue, | ||
const std::function< bool(sal_uInt16)> & | rPredicate | ||
) |
Definition at line 684 of file segmenttree.cxx.
|
private |
Definition at line 167 of file segmenttree.hxx.
Referenced by enableTreeSearch(), findLastTrue(), getRangeData(), getSumValue(), getValue(), insertSegment(), makeReady(), removeSegment(), setValue(), and setValueIf().