Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: DelimitedPathSegment16.h
Link against: inetprotutil.lib

Class TDelimitedPathSegmentParser16

class TDelimitedPathSegmentParser16 : public TDelimitedParserBase16;

Description

Dependencies : TDelimitedParserBase16 Comments : Derived class from TDelimitedParserBase providing a class for parsing path segments delimited by '/' as defined in RFC2396.

Derivation

Members

Defined in TDelimitedPathSegmentParser16:
Parse(), ParseReverse(), TDelimitedPathSegmentParser16()

Inherited from TDelimitedParserBase16:
BackDelimiter(), Dec(), Des(), Eos(), FrontDelimiter(), GetNext(), Inc(), Peek(), Remainder(), SetDelimiter()


Construction and destruction


TDelimitedPathSegmentParser16()

IMPORT_C TDelimitedPathSegmentParser16();

Description

Constructor.

[Top]


Member functions


Parse()

IMPORT_C void Parse(const TDesC16 &aPathSegment);

Pre-Condition

The delimiter must have been set.

Description

This parses the descriptor into path segment segments from left to right.

Post-Condition

The current segment is the leftmost segment and the direction of parsing is set from left to right (EDelimitedDataFroward).

Parameters

const TDesC16 &aPathSegment

A descriptor containing the path segment.


ParseReverse()

IMPORT_C void ParseReverse(const TDesC16 &aPathSegment);

Pre-Condition

The delimiter must have been set.

Description

This parses the descriptor into path segment segments from right to left.

Post-Condition

The current segment is the leftmost segment and the direction of parsing is set from right to left (EDelimitedDataReverse).

Parameters

const TDesC16 &aPathSegment

A descriptor containing the path segment.