class THTTPHdrFieldIter |
Iterator class to iterate the fields within a RHTTPHeaders.
Public Member Functions | |
---|---|
THTTPHdrFieldIter(const CHeaders *) | |
~THTTPHdrFieldIter() | |
IMPORT_C TBool | AtEnd() |
IMPORT_C void | First() |
IMPORT_C RStringTokenF | operator()() |
IMPORT_C void | operator++() |
Private Member Functions | |
---|---|
void | CheckInvalidation() |
Private Attributes | |
---|---|
const CHeaders * | iHeaders |
TInt | iPosIdx |
THTTPHdrFieldIter | ( | const CHeaders * | aHeaders | ) | [inline] |
Construct an iterator for the fields of the supplied header collection.
const CHeaders * 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. True if the iterator has reached the end of the header fields
void | CheckInvalidation | ( | ) | [private] |
Check the iterator state for invalidity following deletions in the collection
IMPORT_C RStringTokenF | operator() | ( | ) |
Obtain the name of the header field currently pointed at by the iterator. The field name; or <empty string>=""> if the iterator has gone off the end of the header collection
IMPORT_C void | operator++ | ( | ) |
Advance the iterator to the next field. True if the iterator still points at a valid part after advancing.
const CHeaders * | iHeaders | [private] |
The headers whose fields we are iterating.
TInt | iPosIdx | [private] |
The index of the field in the header that is currently pointed at by the iterator