Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <thttphdrfielditer.h>
Link against: http.lib

Class THTTPHdrFieldIter

class THTTPHdrFieldIter;

Description

Iterator class to iterate the fields within a RHTTPHeaders.

Members

Defined in THTTPHdrFieldIter:


Construction and destruction


THTTPHdrFieldIter(const CHeaders *)

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

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