Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: thttphdrfielditer.h
Link against: http.lib

Class THTTPHdrFieldIter

class THTTPHdrFieldIter;

Description

Iterator class to iterate the fields within a RHTTPHeaders.

Members

Defined in THTTPHdrFieldIter:
AtEnd(), First(), THTTPHdrFieldIter(), operator()(), operator++(), ~THTTPHdrFieldIter()


Construction and destruction


THTTPHdrFieldIter()

inline THTTPHdrFieldIter(const CHeaders *aHeaders);

Description

Construct an iterator for the fields of the supplied header collection.

Parameters

const CHeaders *aHeaders

The header collection whose fields we want to iterate


~THTTPHdrFieldIter()

IMPORT_C ~THTTPHdrFieldIter();

Description

Class destructor

[Top]


Member functions


First()

IMPORT_C void First();

Description

Reset iterator to point at the first field in the header collection


AtEnd()

IMPORT_C TBool AtEnd() const;

Description

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

Return value

TBool

True if the iterator has reached the end of the header fields


operator++()

IMPORT_C void operator++();

Description

Advance the iterator to the next field.


operator()()

IMPORT_C RStringTokenF operator()();

Description

Obtain the name of the header field currently pointed at by the iterator.

Return value

RStringTokenF

The field name; or if the iterator has gone off the end of the header collection