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 CShgProtectionIter

Interface status: deprecated

class CShgProtectionIter : public CBase;

Description

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

Derivation

Members

Defined in CShgProtectionIter:

Inherited from CBase:


Construction and destruction


NewL(const CShgWorkSheet *,TBool)

Interface status: deprecated Inherited from: CShgProtectionIter

IMPORT_C static 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()

Interface status: deprecated Inherited from: CShgProtectionIter

IMPORT_C virtual ~CShgProtectionIter();

Description

Destructor.

[Top]


Member functions


Reset()

Interface status: deprecated Inherited from: CShgProtectionIter

IMPORT_C void Reset();

Description

Resets the iterator to the start of the worksheet.


Current()

Interface status: deprecated Inherited from: CShgProtectionIter

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++()

Interface status: deprecated Inherited from: CShgProtectionIter

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.