#include <mw/http/thttphdrfielditer.h>
class THTTPHdrFieldIter |
Public Member Functions | |
---|---|
THTTPHdrFieldIter(const CHeaders *) | |
~THTTPHdrFieldIter() | |
IMPORT_C TBool | AtEnd() |
IMPORT_C void | First() |
IMPORT_C RStringTokenF | operator()() |
IMPORT_C void | operator++() |
Iterator class to iterate the fields within a RHTTPHeaders.
THTTPHdrFieldIter | ( | const CHeaders * | aHeaders | ) | [inline] |
Construct an iterator for the fields of the supplied header collection.
Parameter | Description |
---|---|
aHeaders | The header collection whose fields we want to iterate |
IMPORT_C TBool | AtEnd | ( | ) | const |
Check if the iterator is at the end of the collection. If so, further calls to operator() will return NULL.
Returns: True if the iterator has reached the end of the header fields
IMPORT_C RStringTokenF | operator() | ( | ) |
Obtain the name of the header field currently pointed at by the iterator.
Returns: The field name; or <empty string>=""> if the iterator has gone off the end of the header collection