class TWspHeaderSegmenter |
Public Member Functions | |
---|---|
TWspHeaderSegmenter(RStringPool, const TStringTable &, TPtrC8) | |
IMPORT_C TInt | NextL(TWspField &) |
TInt | Offset() |
Private Attributes | |
---|---|
TPtrC8 | iBuffer |
TInt | iOffset |
RStringPool | iPool |
const TStringTable & | iStringTable |
TWspHeaderSegmenter | ( | RStringPool | aPool, |
const TStringTable & | aStringTable, | ||
TPtrC8 | aBuffer | ||
) | [inline] |
Constructor
The string table must be opened with the WSP Sting constants table
RStringPool aPool | In - an opened RStringPool - owned by the caller |
const TStringTable & aStringTable | In - the string table in the string pool to use |
TPtrC8 aBuffer | In - the buffer containing the WSP header data - owned by the caller |
TInt | Offset | ( | ) | const [inline] |
Offset returns the current offset into the buffer being parsed.
TInt offset value. It will point to beginning of next segmented field. If NextL has not been called it will be set to 0. The beginning of the buffer. If buffer has been completely parsed, will return KErrNotFound.
RStringPool | iPool | [private] |
Opened string pool to use with the string table already loaded - Not Owned
const TStringTable & | iStringTable | [private] |
The string table to use in the string pool - Not Owned