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

#include <rangelst.hxx>

Inheritance diagram for ScRangePairList:
[legend]
Collaboration diagram for ScRangePairList:
[legend]

Public Member Functions

virtual ~ScRangePairList () override
 
ScRangePairListClone () const
 
void Append (const ScRangePair &rRangePair)
 
void Join (const ScRangePair &, bool bIsInList=false)
 
void UpdateReference (UpdateRefMode, const ScDocument *, const ScRange &rWhere, SCCOL nDx, SCROW nDy, SCTAB nDz)
 
void DeleteOnTab (SCTAB nTab)
 
ScRangePairFind (const ScAddress &)
 
ScRangePairFind (const ScRange &)
 
std::vector< const ScRangePair * > CreateNameSortedArray (ScDocument &) const
 
void Remove (size_t nPos)
 
void Remove (const ScRangePair &rAdr)
 
size_t size () const
 
ScRangePairoperator[] (size_t idx)
 
const ScRangePairoperator[] (size_t idx) const
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Private Attributes

::std::vector< ScRangePairmaPairs
 

Additional Inherited Members

- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 131 of file rangelst.hxx.

Constructor & Destructor Documentation

◆ ~ScRangePairList()

ScRangePairList::~ScRangePairList ( )
overridevirtual

Definition at line 1191 of file rangelst.cxx.

Member Function Documentation

◆ Append()

void ScRangePairList::Append ( const ScRangePair rRangePair)
inline

Definition at line 136 of file rangelst.hxx.

Referenced by Clone(), and Join().

◆ Clone()

ScRangePairList * ScRangePairList::Clone ( ) const

◆ CreateNameSortedArray()

std::vector< const ScRangePair * > ScRangePairList::CreateNameSortedArray ( ScDocument rDoc) const

Definition at line 1518 of file rangelst.cxx.

References i, and maPairs.

◆ DeleteOnTab()

void ScRangePairList::DeleteOnTab ( SCTAB  nTab)

Definition at line 1269 of file rangelst.cxx.

References maPairs.

◆ Find() [1/2]

ScRangePair * ScRangePairList::Find ( const ScAddress rAdr)

Definition at line 1279 of file rangelst.cxx.

References maPairs.

Referenced by ScLabelRangeObj::GetData_Impl().

◆ Find() [2/2]

ScRangePair * ScRangePairList::Find ( const ScRange rRange)

Definition at line 1289 of file rangelst.cxx.

References maPairs.

◆ Join()

void ScRangePairList::Join ( const ScRangePair r,
bool  bIsInList = false 
)

◆ operator[]() [1/2]

ScRangePair & ScRangePairList::operator[] ( size_t  idx)

Definition at line 1214 of file rangelst.cxx.

References idx, and maPairs.

◆ operator[]() [2/2]

const ScRangePair & ScRangePairList::operator[] ( size_t  idx) const

Definition at line 1219 of file rangelst.cxx.

References idx, and maPairs.

◆ Remove() [1/2]

void ScRangePairList::Remove ( const ScRangePair rAdr)

Definition at line 1203 of file rangelst.cxx.

References maPairs.

◆ Remove() [2/2]

void ScRangePairList::Remove ( size_t  nPos)

Definition at line 1195 of file rangelst.cxx.

References maPairs, and nPos.

Referenced by Join().

◆ size()

size_t ScRangePairList::size ( ) const

◆ UpdateReference()

void ScRangePairList::UpdateReference ( UpdateRefMode  eUpdateRefMode,
const ScDocument pDoc,
const ScRange rWhere,
SCCOL  nDx,
SCROW  nDy,
SCTAB  nDz 
)

Member Data Documentation

◆ maPairs

::std::vector< ScRangePair > ScRangePairList::maPairs
private

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