Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: SHGAPI.H
Link against: sheng.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

Class TShgCellIter

class TShgCellIter;

Description

An iterator over a range of cells.

The iterator wraps around between the start and end cells.

Members

Defined in TShgCellIter:
Current(), EStartPointFirst, EStartPointLast, SetToFirst(), SetToLast(), TShgCellIter(), TStartPoint, operator++(), operator--()


Construction and destruction


TShgCellIter()

IMPORT_C TShgCellIter(const CShgWorkSheet *aWorkSheet, const TRangeRef &aRange, TStartPoint aStartPoint=EStartPointFirst);

Description

Constructor.

Parameters

const CShgWorkSheet *aWorkSheet

Worksheet containing the cells

const TRangeRef &aRange

Cell range over which to iterate

TStartPoint aStartPoint

Starting point for the iterator

[Top]


Member functions


SetToFirst()

IMPORT_C void SetToFirst();

Description

Sets the iterator to the first cell.


SetToLast()

IMPORT_C void SetToLast();

Description

Sets the iterator to the last cell.


Current()

inline TShgCell *Current();

Description

Gets the iterator's current cell.

Return value

TShgCell *

The current cell


operator++()

IMPORT_C TShgCell *operator++();

Description

Increments the iterator, and then returns the current cell.

Return value

TShgCell *

The current cell, after the increment


operator--()

IMPORT_C TShgCell *operator--();

Description

Decrements the iterator, and then returns the current cell.

Return value

TShgCell *

The current cell, after the decrement.

[Top]


Member enumerations


Enum TStartPoint

TStartPoint

Description

Flags for the iterator starting point.

EStartPointFirst

Start the iterator at the first cell.

EStartPointLast

Start the iterator at the last cell.