LibreOffice Module oox (master) 1
Public Member Functions | Private Attributes | List of all members
oox::ValueRangeSet Class Reference

An ordered list of value ranges. More...

#include <containerhelper.hxx>

Public Member Functions

 ValueRangeSet ()
 
void insert (const ValueRange &rRange)
 Inserts the passed value range into the range list. More...
 
const ValueRangeVectorgetRanges () const
 Returns the ordered list of all value ranges. More...
 

Private Attributes

ValueRangeVector maRanges
 

Detailed Description

An ordered list of value ranges.

The insertion operation will merge consecutive value ranges.

Definition at line 63 of file containerhelper.hxx.

Constructor & Destructor Documentation

◆ ValueRangeSet()

oox::ValueRangeSet::ValueRangeSet ( )
inline

Definition at line 66 of file containerhelper.hxx.

Member Function Documentation

◆ getRanges()

const ValueRangeVector & oox::ValueRangeSet::getRanges ( ) const
inline

Returns the ordered list of all value ranges.

Definition at line 72 of file containerhelper.hxx.

◆ insert()

void oox::ValueRangeSet::insert ( const ValueRange rRange)

Inserts the passed value range into the range list.

Definition at line 45 of file containerhelper.cxx.

References maRanges, oox::ValueRange::mnFirst, and oox::ValueRange::mnLast.

Member Data Documentation

◆ maRanges

ValueRangeVector oox::ValueRangeSet::maRanges
private

Definition at line 75 of file containerhelper.hxx.

Referenced by insert().


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