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

This iterator lets you iterate over cells over specified range in a single column. More...

#include <columniterator.hxx>

Public Member Functions

 ColumnIterator (const CellStoreType &rCells, SCROW nRow1, SCROW nRow2)
 
void next ()
 
SCROW getRow () const
 
bool hasCell () const
 
mdds::mtv::element_t getType () const
 
ScRefCellValue getCell () const
 

Private Attributes

CellStoreType::const_position_type maPos
 
CellStoreType::const_position_type maPosEnd
 
bool mbComplete
 

Detailed Description

This iterator lets you iterate over cells over specified range in a single column.

It does not modify the state of the cells, and therefore is thread safe.

Definition at line 66 of file columniterator.hxx.

Constructor & Destructor Documentation

◆ ColumnIterator()

sc::ColumnIterator::ColumnIterator ( const CellStoreType rCells,
SCROW  nRow1,
SCROW  nRow2 
)

Definition at line 172 of file columniterator.cxx.

References first, and position().

Member Function Documentation

◆ getCell()

ScRefCellValue sc::ColumnIterator::getCell ( ) const

Definition at line 202 of file columniterator.cxx.

References maPos, and sc::toRefCell().

◆ getRow()

SCROW sc::ColumnIterator::getRow ( ) const

Definition at line 187 of file columniterator.cxx.

References maPos.

◆ getType()

mdds::mtv::element_t sc::ColumnIterator::getType ( ) const

Definition at line 197 of file columniterator.cxx.

References maPos.

◆ hasCell()

bool sc::ColumnIterator::hasCell ( ) const

Definition at line 192 of file columniterator.cxx.

References mbComplete.

◆ next()

void sc::ColumnIterator::next ( )

Definition at line 179 of file columniterator.cxx.

References maPos, maPosEnd, and mbComplete.

Member Data Documentation

◆ maPos

CellStoreType::const_position_type sc::ColumnIterator::maPos
private

Definition at line 68 of file columniterator.hxx.

Referenced by getCell(), getRow(), getType(), and next().

◆ maPosEnd

CellStoreType::const_position_type sc::ColumnIterator::maPosEnd
private

Definition at line 69 of file columniterator.hxx.

Referenced by next().

◆ mbComplete

bool sc::ColumnIterator::mbComplete
private

Definition at line 70 of file columniterator.hxx.

Referenced by hasCell(), and next().


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