![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class TWspHeaderSegmenter;
TWspHeaderSegmenter segments a WSP buffer into WSP header/value pairs. It detects boundaries between header/values based on the WAP-WSP spec.
To construct, buffer and string pool is passed in
Call to TWspHeaderSegmenter::NextL(TWspField &)
to iterate through the buffer - this returns a TWspField
TWspHeaderSegmenter::NextL(TWspField &)
returns KErrNotFound when done
Defined in TWspHeaderSegmenter
:
NextL(TWspField &)
NextL iterates through the buffer. Each call returns a TWspField in the paramate...Offset()const
Offset returns the current offset into the buffer being parsed.TWspHeaderSegmenter(RStringPool,const TStringTable &,TPtrC8)
Constructorinline TWspHeaderSegmenter(RStringPool aPool, const TStringTable &aStringTable, TPtrC8 aBuffer);
The string table must be opened with the WSP Sting constants table
Constructor
|
IMPORT_C TInt NextL(TWspField &aWspHeader);
NextL iterates through the buffer. Each call returns a TWspField
in the paramater.
|
|
|
inline TInt Offset() const;
Offset returns the current offset into the buffer being parsed.
|