LibreOffice Module sc (master) 1
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ScBigRange Class Reference

#include <bigrange.hxx>

Collaboration diagram for ScBigRange:
[legend]

Public Member Functions

 ScBigRange ()
 
 ScBigRange (const ScBigRange &r)
 
 ScBigRange (ScBigRange &&)=default
 
 ScBigRange (const ScRange &r)
 
 ScBigRange (sal_Int64 nCol1, sal_Int64 nRow1, sal_Int64 nTab1, sal_Int64 nCol2, sal_Int64 nRow2, sal_Int64 nTab2)
 
void Set (sal_Int64 nCol1, sal_Int64 nRow1, sal_Int64 nTab1, sal_Int64 nCol2, sal_Int64 nRow2, sal_Int64 nTab2)
 
void GetVars (sal_Int64 &nCol1, sal_Int64 &nRow1, sal_Int64 &nTab1, sal_Int64 &nCol2, sal_Int64 &nRow2, sal_Int64 &nTab2) const
 
bool IsValid (const ScDocument &rDoc) const
 
ScRange MakeRange (const ScDocument &rDoc) const
 
bool Contains (const ScBigAddress &) const
 is Address& in range? More...
 
bool Contains (const ScBigRange &) const
 is Range& in range? More...
 
bool Intersects (const ScBigRange &) const
 do two ranges overlap? More...
 
ScBigRangeoperator= (const ScBigRange &r)
 
ScBigRangeoperator= (ScBigRange &&)=default
 
bool operator== (const ScBigRange &r) const
 
bool operator!= (const ScBigRange &r) const
 

Public Attributes

ScBigAddress aStart
 
ScBigAddress aEnd
 

Static Public Attributes

static constexpr sal_Int64 nRangeMin = ::std::numeric_limits<sal_Int64>::min()
 
static constexpr sal_Int64 nRangeMax = ::std::numeric_limits<sal_Int64>::max()
 

Detailed Description

Definition at line 104 of file bigrange.hxx.

Constructor & Destructor Documentation

◆ ScBigRange() [1/5]

ScBigRange::ScBigRange ( )
inline

Definition at line 111 of file bigrange.hxx.

◆ ScBigRange() [2/5]

ScBigRange::ScBigRange ( const ScBigRange r)
inline

Definition at line 112 of file bigrange.hxx.

◆ ScBigRange() [3/5]

ScBigRange::ScBigRange ( ScBigRange &&  )
default

◆ ScBigRange() [4/5]

ScBigRange::ScBigRange ( const ScRange r)
inline

Definition at line 115 of file bigrange.hxx.

◆ ScBigRange() [5/5]

ScBigRange::ScBigRange ( sal_Int64  nCol1,
sal_Int64  nRow1,
sal_Int64  nTab1,
sal_Int64  nCol2,
sal_Int64  nRow2,
sal_Int64  nTab2 
)
inline

Definition at line 117 of file bigrange.hxx.

Member Function Documentation

◆ Contains() [1/2]

bool ScBigRange::Contains ( const ScBigAddress rAddr) const
inline

◆ Contains() [2/2]

bool ScBigRange::Contains ( const ScBigRange r) const
inline

is Range& in range?

Definition at line 162 of file bigrange.hxx.

References aEnd, aStart, ScBigAddress::Col(), ScBigAddress::Row(), and ScBigAddress::Tab().

◆ GetVars()

void ScBigRange::GetVars ( sal_Int64 &  nCol1,
sal_Int64 &  nRow1,
sal_Int64 &  nTab1,
sal_Int64 &  nCol2,
sal_Int64 &  nRow2,
sal_Int64 &  nTab2 
) const
inline

◆ Intersects()

bool ScBigRange::Intersects ( const ScBigRange r) const
inline

◆ IsValid()

bool ScBigRange::IsValid ( const ScDocument rDoc) const
inline

◆ MakeRange()

ScRange ScBigRange::MakeRange ( const ScDocument rDoc) const
inline

◆ operator!=()

bool ScBigRange::operator!= ( const ScBigRange r) const
inline

Definition at line 146 of file bigrange.hxx.

References operator==().

◆ operator=() [1/2]

ScBigRange & ScBigRange::operator= ( const ScBigRange r)
inline

Definition at line 141 of file bigrange.hxx.

References aEnd, and aStart.

◆ operator=() [2/2]

ScBigRange & ScBigRange::operator= ( ScBigRange &&  )
default

◆ operator==()

bool ScBigRange::operator== ( const ScBigRange r) const
inline

Definition at line 144 of file bigrange.hxx.

References aEnd, and aStart.

Referenced by operator!=().

◆ Set()

void ScBigRange::Set ( sal_Int64  nCol1,
sal_Int64  nRow1,
sal_Int64  nTab1,
sal_Int64  nCol2,
sal_Int64  nRow2,
sal_Int64  nTab2 
)
inline

Definition at line 122 of file bigrange.hxx.

References aEnd, aStart, and ScBigAddress::Set().

Member Data Documentation

◆ aEnd

ScBigAddress ScBigRange::aEnd

◆ aStart

ScBigAddress ScBigRange::aStart

◆ nRangeMax

constexpr sal_Int64 ScBigRange::nRangeMax = ::std::numeric_limits<sal_Int64>::max()
staticconstexpr

◆ nRangeMin

constexpr sal_Int64 ScBigRange::nRangeMin = ::std::numeric_limits<sal_Int64>::min()
staticconstexpr

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