KSpread::RangeIterator Class Reference

#include <kspread_util.h>

Public Member Functions

 RangeIterator (TQRect _range, Sheet *_sheet)
 
Cell * first ()
 
Cell * next ()
 

Detailed Description

RangeIterator.

Class to simplify the process of iterating through each cell in a range that has already been allocated

Definition at line 256 of file kspread_util.h.

Constructor & Destructor Documentation

◆ RangeIterator()

RangeIterator::RangeIterator ( TQRect  _range,
Sheet *  _sheet 
)

Contstruct the iterator with the rectangular cell area and which sheet the area is on.

Definition at line 779 of file kspread_util.cpp.

◆ ~RangeIterator()

RangeIterator::~RangeIterator ( )

Definition at line 786 of file kspread_util.cpp.

Member Function Documentation

◆ first()

Cell * RangeIterator::first ( )
Returns
the first allocated cell in the area

Definition at line 790 of file kspread_util.cpp.

◆ next()

Cell * RangeIterator::next ( )
Returns
the next allocated cell in the area after the previous one retrieved, or NULL if it was the last one.

Definition at line 800 of file kspread_util.cpp.


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