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 TShgNameIter

Interface status: deprecated

class TShgNameIter;

Description

An iterator over a name set (CShgNameSet).

Members

Defined in TShgNameIter:


Construction and destruction


TShgNameIter(const CShgNameSet *,TBool)

Interface status: deprecated Inherited from: TShgNameIter

IMPORT_C TShgNameIter(const CShgNameSet *aNameSet, TBool aIncludePermanentlyDeletedNames=EFalse);

Description

Constructor.

Parameters

const CShgNameSet *aNameSet

Name set to iterate

TBool aIncludePermanentlyDeletedNames

Include permanently deleted names in the iteration

[Top]


Member functions


Reset()

Interface status: deprecated Inherited from: TShgNameIter

IMPORT_C void Reset();

Description

Resets the iterator to the start of the set.


Current()

Interface status: deprecated Inherited from: TShgNameIter

IMPORT_C TInt Current();

Description

Gets the index of the current name.

The index value can be used with CShgNameSet's operator[].

Return value

TInt

Index of the current name. This is a negative value when the iteration has completed.


operator++()

Interface status: deprecated Inherited from: TShgNameIter

IMPORT_C TInt operator++();

Description

Increments the iterator.

Return value

TInt

Incremented name set index. This is a negative value when the iteration has completed.