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

#include <lotrange.hxx>

Public Member Functions

 LotusRange (SCCOL nCol, SCROW nRow)
 
 LotusRange (SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE)
 
 LotusRange (const LotusRange &)
 
LotusRangeoperator= (const LotusRange &)
 
bool operator== (const LotusRange &) const
 
bool IsSingle () const
 

Private Member Functions

void MakeHash ()
 
void Copy (const LotusRange &)
 
void SetId (LR_ID nId)
 

Private Attributes

sal_uInt32 nHash
 
SCCOL nColStart
 
SCROW nRowStart
 
SCCOL nColEnd
 
SCROW nRowEnd
 
LR_ID nId
 

Friends

class LotusRangeList
 

Detailed Description

Definition at line 31 of file lotrange.hxx.

Constructor & Destructor Documentation

◆ LotusRange() [1/3]

LotusRange::LotusRange ( SCCOL  nCol,
SCROW  nRow 
)

Definition at line 344 of file tool.cxx.

References ID_FAIL, MakeHash(), nColEnd, nColStart, nId, nRowEnd, and nRowStart.

◆ LotusRange() [2/3]

LotusRange::LotusRange ( SCCOL  nColS,
SCROW  nRowS,
SCCOL  nColE,
SCROW  nRowE 
)

Definition at line 352 of file tool.cxx.

References ID_FAIL, MakeHash(), nColEnd, nColStart, nId, nRowEnd, and nRowStart.

◆ LotusRange() [3/3]

LotusRange::LotusRange ( const LotusRange rCpy)

Definition at line 362 of file tool.cxx.

References Copy().

Member Function Documentation

◆ Copy()

void LotusRange::Copy ( const LotusRange rCpy)
inlineprivate

Definition at line 53 of file lotrange.hxx.

References nColEnd, nColStart, nHash, nId, nRowEnd, and nRowStart.

Referenced by LotusRange(), and operator=().

◆ IsSingle()

bool LotusRange::IsSingle ( ) const
inline

Definition at line 81 of file lotrange.hxx.

References nColEnd, nColStart, nRowEnd, and nRowStart.

◆ MakeHash()

void LotusRange::MakeHash ( )
private

Definition at line 330 of file tool.cxx.

References nColEnd, nColStart, nHash, nRowEnd, and nRowStart.

Referenced by LotusRange().

◆ operator=()

LotusRange & LotusRange::operator= ( const LotusRange rCpy)
inline

Definition at line 68 of file lotrange.hxx.

References Copy().

◆ operator==()

bool LotusRange::operator== ( const LotusRange rRef) const
inline

Definition at line 74 of file lotrange.hxx.

References nColEnd, nColStart, nHash, nRowEnd, and nRowStart.

◆ SetId()

void LotusRange::SetId ( LR_ID  nId)
inlineprivate

Definition at line 63 of file lotrange.hxx.

References nId.

Friends And Related Function Documentation

◆ LotusRangeList

friend class LotusRangeList
friend

Definition at line 33 of file lotrange.hxx.

Member Data Documentation

◆ nColEnd

SCCOL LotusRange::nColEnd
private

Definition at line 38 of file lotrange.hxx.

Referenced by Copy(), IsSingle(), LotusRange(), MakeHash(), and operator==().

◆ nColStart

SCCOL LotusRange::nColStart
private

Definition at line 36 of file lotrange.hxx.

Referenced by Copy(), IsSingle(), LotusRange(), MakeHash(), and operator==().

◆ nHash

sal_uInt32 LotusRange::nHash
private

Definition at line 35 of file lotrange.hxx.

Referenced by Copy(), MakeHash(), and operator==().

◆ nId

LR_ID LotusRange::nId
private

Definition at line 40 of file lotrange.hxx.

Referenced by Copy(), LotusRange(), and SetId().

◆ nRowEnd

SCROW LotusRange::nRowEnd
private

Definition at line 39 of file lotrange.hxx.

Referenced by Copy(), IsSingle(), LotusRange(), MakeHash(), and operator==().

◆ nRowStart

SCROW LotusRange::nRowStart
private

Definition at line 37 of file lotrange.hxx.

Referenced by Copy(), IsSingle(), LotusRange(), MakeHash(), and operator==().


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