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

#include <bigrange.hxx>

Public Member Functions

 ScBigAddress ()
 
 ScBigAddress (sal_Int64 nColP, sal_Int64 nRowP, sal_Int64 nTabP)
 
 ScBigAddress (const ScBigAddress &r)
 
 ScBigAddress (ScBigAddress &&)=default
 
 ScBigAddress (const ScAddress &r)
 
sal_Int64 Col () const
 
sal_Int64 Row () const
 
sal_Int64 Tab () const
 
void Set (sal_Int64 nColP, sal_Int64 nRowP, sal_Int64 nTabP)
 
void SetCol (sal_Int64 nColP)
 
void SetRow (sal_Int64 nRowP)
 
void SetTab (sal_Int64 nTabP)
 
void IncCol (sal_Int64 n=1)
 
void IncRow (sal_Int64 n=1)
 
void IncTab (sal_Int64 n=1)
 
void GetVars (sal_Int64 &nColP, sal_Int64 &nRowP, sal_Int64 &nTabP) const
 
bool IsValid (const ScDocument &rDoc) const
 
ScAddress MakeAddress (const ScDocument &rDoc) const
 
ScBigAddressoperator= (const ScBigAddress &r)
 
ScBigAddressoperator= (ScBigAddress &&)=default
 
ScBigAddressoperator= (const ScAddress &r)
 
bool operator== (const ScBigAddress &r) const
 
bool operator!= (const ScBigAddress &r) const
 

Private Attributes

sal_Int64 nRow
 
sal_Int64 nCol
 
sal_Int64 nTab
 

Detailed Description

Definition at line 28 of file bigrange.hxx.

Constructor & Destructor Documentation

◆ ScBigAddress() [1/5]

ScBigAddress::ScBigAddress ( )
inline

Definition at line 35 of file bigrange.hxx.

◆ ScBigAddress() [2/5]

ScBigAddress::ScBigAddress ( sal_Int64  nColP,
sal_Int64  nRowP,
sal_Int64  nTabP 
)
inline

Definition at line 36 of file bigrange.hxx.

◆ ScBigAddress() [3/5]

ScBigAddress::ScBigAddress ( const ScBigAddress r)
inline

Definition at line 38 of file bigrange.hxx.

◆ ScBigAddress() [4/5]

ScBigAddress::ScBigAddress ( ScBigAddress &&  )
default

◆ ScBigAddress() [5/5]

ScBigAddress::ScBigAddress ( const ScAddress r)
inline

Definition at line 41 of file bigrange.hxx.

Member Function Documentation

◆ Col()

sal_Int64 ScBigAddress::Col ( ) const
inline

◆ GetVars()

void ScBigAddress::GetVars ( sal_Int64 &  nColP,
sal_Int64 &  nRowP,
sal_Int64 &  nTabP 
) const
inline

Definition at line 57 of file bigrange.hxx.

References nCol, nRow, and nTab.

Referenced by ScBigRange::GetVars().

◆ IncCol()

void ScBigAddress::IncCol ( sal_Int64  n = 1)
inline

◆ IncRow()

void ScBigAddress::IncRow ( sal_Int64  n = 1)
inline

◆ IncTab()

void ScBigAddress::IncTab ( sal_Int64  n = 1)
inline

◆ IsValid()

bool ScBigAddress::IsValid ( const ScDocument rDoc) const

◆ MakeAddress()

ScAddress ScBigAddress::MakeAddress ( const ScDocument rDoc) const
inline

◆ operator!=()

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

Definition at line 70 of file bigrange.hxx.

References operator==().

◆ operator=() [1/3]

ScBigAddress & ScBigAddress::operator= ( const ScAddress r)
inline

Definition at line 66 of file bigrange.hxx.

References ScAddress::Col(), nCol, nRow, nTab, ScAddress::Row(), and ScAddress::Tab().

◆ operator=() [2/3]

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

Definition at line 63 of file bigrange.hxx.

References nCol, nRow, and nTab.

◆ operator=() [3/3]

ScBigAddress & ScBigAddress::operator= ( ScBigAddress &&  )
default

◆ operator==()

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

Definition at line 68 of file bigrange.hxx.

References nCol, nRow, and nTab.

Referenced by operator!=().

◆ Row()

sal_Int64 ScBigAddress::Row ( ) const
inline

◆ Set()

void ScBigAddress::Set ( sal_Int64  nColP,
sal_Int64  nRowP,
sal_Int64  nTabP 
)
inline

Definition at line 48 of file bigrange.hxx.

References nCol, nRow, and nTab.

Referenced by ScChangeTrack::LookUpContents(), and ScBigRange::Set().

◆ SetCol()

void ScBigAddress::SetCol ( sal_Int64  nColP)
inline

◆ SetRow()

void ScBigAddress::SetRow ( sal_Int64  nRowP)
inline

◆ SetTab()

void ScBigAddress::SetTab ( sal_Int64  nTabP)
inline

◆ Tab()

sal_Int64 ScBigAddress::Tab ( ) const
inline

Member Data Documentation

◆ nCol

sal_Int64 ScBigAddress::nCol
private

Definition at line 31 of file bigrange.hxx.

Referenced by Col(), GetVars(), IncCol(), IsValid(), MakeAddress(), operator=(), operator==(), Set(), and SetCol().

◆ nRow

sal_Int64 ScBigAddress::nRow
private

Definition at line 30 of file bigrange.hxx.

Referenced by GetVars(), IncRow(), IsValid(), MakeAddress(), operator=(), operator==(), Row(), Set(), and SetRow().

◆ nTab

sal_Int64 ScBigAddress::nTab
private

Definition at line 32 of file bigrange.hxx.

Referenced by GetVars(), IncTab(), IsValid(), MakeAddress(), operator=(), operator==(), Set(), SetTab(), and Tab().


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