#include <wspdecoder.h>
class TWspHeaderSegmenter |
Public Member Functions | |
---|---|
TWspHeaderSegmenter(RStringPool, const TStringTable &, TPtrC8) | |
IMPORT_C TInt | NextL(TWspField &) |
TInt | Offset() |
Deprecated
TWspHeaderSegmenter | ( | RStringPool | aPool, |
const TStringTable & | aStringTable, | ||
TPtrC8 | aBuffer | ||
) | [inline] |
Constructor
Parameters | |
---|---|
aPool | In - an opened RStringPool - owned by the caller |
aStringTable | In - the string table in the string pool to use |
aBuffer | In - the buffer containing the WSP header data - owned by the caller |
NextL iterates through the buffer. Each call returns a TWspField in the paramater.
The TWspField::iHdrName will be opened internally. It must be closed by the caller before this class is destroyed.
Parameters | |
---|---|
aWspHeader | Out - a TWspField containing the header <name,value> pair. |
Leave Codes | |
---|---|
TInt | Offset | ( | ) | const [inline] |
Offset returns the current offset into the buffer being parsed.