LibreOffice Module oox (master) 1
Public Member Functions | Public Attributes | List of all members
oox::ValueRange Struct Reference

A range of signed 32-bit integer values. More...

#include <containerhelper.hxx>

Public Member Functions

 ValueRange (sal_Int32 nValue)
 
 ValueRange (sal_Int32 nFirst, sal_Int32 nLast)
 
bool operator== (const ValueRange &rRange) const
 
bool operator!= (const ValueRange &rRange) const
 
bool contains (const ValueRange &rRange) const
 
bool intersects (const ValueRange &rRange) const
 

Public Attributes

sal_Int32 mnFirst
 
sal_Int32 mnLast
 

Detailed Description

A range of signed 32-bit integer values.

Definition at line 42 of file containerhelper.hxx.

Constructor & Destructor Documentation

◆ ValueRange() [1/2]

oox::ValueRange::ValueRange ( sal_Int32  nValue)
inlineexplicit

Definition at line 47 of file containerhelper.hxx.

References nValue.

◆ ValueRange() [2/2]

oox::ValueRange::ValueRange ( sal_Int32  nFirst,
sal_Int32  nLast 
)
inlineexplicit

Definition at line 48 of file containerhelper.hxx.

Member Function Documentation

◆ contains()

bool oox::ValueRange::contains ( const ValueRange rRange) const
inline

Definition at line 52 of file containerhelper.hxx.

References mnFirst, and mnLast.

◆ intersects()

bool oox::ValueRange::intersects ( const ValueRange rRange) const
inline

Definition at line 53 of file containerhelper.hxx.

References mnFirst, and mnLast.

◆ operator!=()

bool oox::ValueRange::operator!= ( const ValueRange rRange) const
inline

Definition at line 51 of file containerhelper.hxx.

◆ operator==()

bool oox::ValueRange::operator== ( const ValueRange rRange) const
inline

Definition at line 50 of file containerhelper.hxx.

References mnFirst, and mnLast.

Member Data Documentation

◆ mnFirst

sal_Int32 oox::ValueRange::mnFirst

Definition at line 44 of file containerhelper.hxx.

Referenced by contains(), oox::ValueRangeSet::insert(), intersects(), and operator==().

◆ mnLast

sal_Int32 oox::ValueRange::mnLast

Definition at line 45 of file containerhelper.hxx.

Referenced by contains(), oox::ValueRangeSet::insert(), intersects(), and operator==().


The documentation for this struct was generated from the following file: