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 30 of file lotrange.hxx.

Constructor & Destructor Documentation

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::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::LotusRange ( const LotusRange rCpy)

Definition at line 362 of file tool.cxx.

References Copy().

Member Function Documentation

void LotusRange::Copy ( const LotusRange rCpy)
inlineprivate

Definition at line 52 of file lotrange.hxx.

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

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

bool LotusRange::IsSingle ( ) const
inline

Definition at line 80 of file lotrange.hxx.

References nColEnd, nColStart, nRowEnd, and nRowStart.

void LotusRange::MakeHash ( )
private

Definition at line 330 of file tool.cxx.

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

Referenced by LotusRange().

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

Definition at line 67 of file lotrange.hxx.

References Copy().

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

Definition at line 73 of file lotrange.hxx.

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

void LotusRange::SetId ( LR_ID  nId)
inlineprivate

Definition at line 62 of file lotrange.hxx.

References nId.

Friends And Related Function Documentation

friend class LotusRangeList
friend

Definition at line 32 of file lotrange.hxx.

Member Data Documentation

SCCOL LotusRange::nColEnd
private

Definition at line 37 of file lotrange.hxx.

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

SCCOL LotusRange::nColStart
private

Definition at line 35 of file lotrange.hxx.

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

sal_uInt32 LotusRange::nHash
private

Definition at line 34 of file lotrange.hxx.

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

LR_ID LotusRange::nId
private

Definition at line 39 of file lotrange.hxx.

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

SCROW LotusRange::nRowEnd
private

Definition at line 38 of file lotrange.hxx.

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

SCROW LotusRange::nRowStart
private

Definition at line 36 of file lotrange.hxx.

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


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