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_Int32 nColP, sal_Int32 nRowP, sal_Int32 nTabP)
 
 ScBigAddress (const ScBigAddress &r)
 
 ScBigAddress (ScBigAddress &&)=default
 
 ScBigAddress (const ScAddress &r)
 
sal_Int32 Col () const
 
sal_Int32 Row () const
 
sal_Int32 Tab () const
 
void Set (sal_Int32 nColP, sal_Int32 nRowP, sal_Int32 nTabP)
 
void SetCol (sal_Int32 nColP)
 
void SetRow (sal_Int32 nRowP)
 
void SetTab (sal_Int32 nTabP)
 
void IncCol (sal_Int32 n=1)
 
void IncRow (sal_Int32 n=1)
 
void IncTab (sal_Int32 n=1)
 
void GetVars (sal_Int32 &nColP, sal_Int32 &nRowP, sal_Int32 &nTabP) const
 
bool IsValid (const ScDocument &rDoc) const
 
ScAddress MakeAddress () 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_Int32 nRow
 
sal_Int32 nCol
 
sal_Int32 nTab
 

Detailed Description

Definition at line 31 of file bigrange.hxx.

Constructor & Destructor Documentation

ScBigAddress::ScBigAddress ( )
inline

Definition at line 38 of file bigrange.hxx.

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

Definition at line 39 of file bigrange.hxx.

ScBigAddress::ScBigAddress ( const ScBigAddress r)
inline

Definition at line 41 of file bigrange.hxx.

ScBigAddress::ScBigAddress ( ScBigAddress &&  )
default
ScBigAddress::ScBigAddress ( const ScAddress r)
inline

Definition at line 44 of file bigrange.hxx.

Member Function Documentation

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

Definition at line 60 of file bigrange.hxx.

References nCol, nRow, and nTab.

Referenced by ScBigRange::GetVars().

void ScBigAddress::IncCol ( sal_Int32  n = 1)
inline
void ScBigAddress::IncRow ( sal_Int32  n = 1)
inline
void ScBigAddress::IncTab ( sal_Int32  n = 1)
inline
bool ScBigAddress::IsValid ( const ScDocument rDoc) const
ScAddress ScBigAddress::MakeAddress ( ) const
inline
bool ScBigAddress::operator!= ( const ScBigAddress r) const
inline

Definition at line 73 of file bigrange.hxx.

References operator==().

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

Definition at line 66 of file bigrange.hxx.

References nCol, nRow, and nTab.

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

Definition at line 69 of file bigrange.hxx.

References ScAddress::Col(), ScAddress::Row(), and ScAddress::Tab().

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

Definition at line 71 of file bigrange.hxx.

References nCol, nRow, and nTab.

Referenced by operator!=().

sal_Int32 ScBigAddress::Row ( ) const
inline
void ScBigAddress::Set ( sal_Int32  nColP,
sal_Int32  nRowP,
sal_Int32  nTabP 
)
inline

Definition at line 51 of file bigrange.hxx.

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

void ScBigAddress::SetCol ( sal_Int32  nColP)
inline
void ScBigAddress::SetRow ( sal_Int32  nRowP)
inline
void ScBigAddress::SetTab ( sal_Int32  nTabP)
inline
sal_Int32 ScBigAddress::Tab ( ) const
inline

Member Data Documentation

sal_Int32 ScBigAddress::nCol
private

Definition at line 34 of file bigrange.hxx.

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

sal_Int32 ScBigAddress::nRow
private

Definition at line 33 of file bigrange.hxx.

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

sal_Int32 ScBigAddress::nTab
private

Definition at line 35 of file bigrange.hxx.

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


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