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 CShgProtectionIter

class CShgProtectionIter : public CBase;

Description

An iterator over the protected or unprotected cell ranges in a worksheet.

Derivation

Members

Defined in CShgProtectionIter:
Current(), NewL(), Reset(), operator++(), ~CShgProtectionIter()

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C CShgProtectionIter *NewL(const CShgWorkSheet *aWorkSheet, TBool aProtectionSetting);

Description

Allocates and constructs a protected cells iterator.

Parameters

const CShgWorkSheet *aWorkSheet

Worksheet to iterate on

TBool aProtectionSetting

If true, include only protected cells in the iteration; if false, include only unprotected cells in the iteration

Return value

CShgProtectionIter *

New protected cells iterator


~CShgProtectionIter()

virtual IMPORT_C ~CShgProtectionIter();

Description

Destructor.

[Top]


Member functions


Reset()

IMPORT_C void Reset();

Description

Resets the iterator to the start of the worksheet.


Current()

IMPORT_C const TRangeRef *Current();

Description

Gets the iterator's current cell range.

Return value

const TRangeRef *

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


operator++()

IMPORT_C const TRangeRef *operator++();

Description

Increments the iterator.

Return value

const TRangeRef *

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