Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SHGAPI.H>
Link against: sheng.lib
This item is not part of the S60 5th Edition SDK

Class TShgCellIter

Interface status: deprecated

class TShgCellIter;

Description

An iterator over a range of cells.

The iterator wraps around between the start and end cells.

Members

Defined in TShgCellIter:


Construction and destruction


TShgCellIter(const CShgWorkSheet *,const TRangeRef &,TStartPoint)

Interface status: deprecated Inherited from: 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

TShgCellIter::TStartPoint aStartPoint

Starting point for the iterator

[Top]


Member functions


SetToFirst()

Interface status: deprecated Inherited from: TShgCellIter

IMPORT_C void SetToFirst();

Description

Sets the iterator to the first cell.


SetToLast()

Interface status: deprecated Inherited from: TShgCellIter

IMPORT_C void SetToLast();

Description

Sets the iterator to the last cell.


Current()

Interface status: deprecated Inherited from: TShgCellIter

inline TShgCell* Current();

Description

Gets the iterator's current cell.

Return value

TShgCell *

The current cell


operator++()

Interface status: deprecated Inherited from: TShgCellIter

IMPORT_C TShgCell* operator++();

Description

Increments the iterator, and then returns the current cell.

Return value

TShgCell *

The current cell, after the increment


operator--()

Interface status: deprecated Inherited from: TShgCellIter

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

Interface status: deprecated Inherited from: TShgCellIter

TStartPoint

Description

Flags for the iterator starting point.

EStartPointFirst

Start the iterator at the first cell.

EStartPointLast

Start the iterator at the last cell.