THeaderFieldParamIter Class Reference

class THeaderFieldParamIter

Iterator class to iterate the parameters contained within a header part. Requires friendship with CHeaderFieldPart and as such is tightly bound to that class.

Constructor & Destructor Documentation

THeaderFieldParamIter(const CHeaderFieldPart *)

THeaderFieldParamIter ( const CHeaderFieldPart * aHeaderPart ) [inline]

Construct an iterator for the parameterss of the supplied header part.

Parameters

const CHeaderFieldPart * aHeaderPart The header part whose parameters we want to iterate

~THeaderFieldParamIter()

~THeaderFieldParamIter ( ) [inline]

Class destructor

d'tor

Member Functions Documentation

AtEnd()

TBool AtEnd ( ) [inline]

Check if the iterator is at the end of the list. If so, further calls to operator() will return NULL.

Check if the iterator is at the end of the list it traverses

CheckInvalidation()

void CheckInvalidation ( ) [private, inline]

Check the iterator state for invalidity following deletions in the list

First()

void First ( ) [inline]

Reset iterator to point at the first part of the header

Reset the iterator to point at the first element

operator()()

const CHeaderFieldParam * operator() ( ) [inline]

Obtain the header parameter currently pointed at by the iterator. Obtain the element at the iterator's current position

operator++()

void operator++ ( ) [inline]

Advance the iterator. Advance the iterator

Member Data Documentation

const CHeaderFieldPart * iHeaderPart

const CHeaderFieldPart * iHeaderPart [private]

The header part whose parameters we are iterating.

TInt iPosIdx

TInt iPosIdx [private]

The index of the parameter in the header part that is currently pointed at by the iterator