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 TShgWorkSheetIter

class TShgWorkSheetIter;

Description

An iterator over the worksheets in a workbook.

Members

Defined in TShgWorkSheetIter:
Current(), Reset(), TShgWorkSheetIter(), operator++()


Construction and destruction


TShgWorkSheetIter()

IMPORT_C TShgWorkSheetIter(const CShgWorkBook *aWorkBook);

Description

Constructor.

Parameters

const CShgWorkBook *aWorkBook

Workbook to iterate

[Top]


Member functions


Reset()

IMPORT_C void Reset();

Description

Resets the iterator to the start of the workbook.


Current()

IMPORT_C const CShgWorkSheet *Current();

Description

Gets the iterator's current worksheet.

Return value

const CShgWorkSheet *

Iterator's current worksheet. This is NULL when the iteration has completed.


operator++()

IMPORT_C const CShgWorkSheet *operator++();

Description

Increments the iterator.

Return value

const CShgWorkSheet *

Incremented iterator's current worksheet. This is NULL when the iteration has completed.