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)
 
 ~ColumnIterator ()
 
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

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

Definition at line 172 of file columniterator.cxx.

References first, and position().

sc::ColumnIterator::~ColumnIterator ( )

Definition at line 179 of file columniterator.cxx.

Member Function Documentation

ScRefCellValue sc::ColumnIterator::getCell ( ) const

Definition at line 204 of file columniterator.cxx.

References maPos, and sc::toRefCell().

SCROW sc::ColumnIterator::getRow ( ) const

Definition at line 189 of file columniterator.cxx.

References maPos.

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

Definition at line 199 of file columniterator.cxx.

References maPos.

bool sc::ColumnIterator::hasCell ( ) const

Definition at line 194 of file columniterator.cxx.

References mbComplete.

void sc::ColumnIterator::next ( )

Definition at line 181 of file columniterator.cxx.

References maPos, maPosEnd, and mbComplete.

Member Data Documentation

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

Definition at line 68 of file columniterator.hxx.

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

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

Definition at line 69 of file columniterator.hxx.

Referenced by next().

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: