CCdlRefs::TIterator Class Reference

class CCdlRefs::TIterator

This is an iterator type for CCdlRefs . There are three sub-types of iterator. One type iterates all references in the collection. Another iterates only those with a particular UID. A third iterates only those with a particular file name.

Constructor & Destructor Documentation

TIterator(const TIterator &)

IMPORT_C TIterator ( const TIterator & aOther )

Copy constructor

Parameters

const TIterator & aOther

TIterator(const CRefs &, TInt)

TIterator ( const CRefs & aRefs,
TInt aIndex
) [protected]

Parameters

const CRefs & aRefs
TInt aIndex

Member Functions Documentation

Match(TInt)

TBool Match ( TInt aIndex ) const [protected, virtual]

Parameters

TInt aIndex

operator!=(const TIterator &)

TBool operator!= ( const TIterator & aOther ) const [inline]

Inequality operator

Parameters

const TIterator & aOther

operator*()

const TCdlRef & operator* ( ) const [inline]

Dereference operator

operator++()

IMPORT_C TIterator & operator++ ( )

pre-increment operator i.e. ++myIterator this operator is preferred to the post-increment operator.

operator++(TInt)

TIterator operator++ ( TInt ) [inline]

post-increment operator i.e. myIterator++ the pre-increment operator is preferred to this operator.

Parameters

TInt

operator->()

const TCdlRef * operator-> ( ) const [inline]

Dereference and access operator

operator=(const TIterator &)

TIterator & operator= ( const TIterator & aOther ) [inline]

Assignment operator

Parameters

const TIterator & aOther

operator==(const TIterator &)

TBool operator== ( const TIterator & aOther ) const [inline]

Equality operator

Parameters

const TIterator & aOther

Member Data Documentation

TInt iIndex

TInt iIndex [protected]

const CRefs & iRefs

const CRefs & iRefs [protected]