CDelimitedPathSegment16 Class Reference

class CDelimitedPathSegment16 : public CDelimitedDataBase16
Dependencies : CDelimitedStringBase16 Comments : Provides functionality to create a delimited path segment where components of the path segment delimited by '/' as defined in RFC2396.
Since
6.0

Inherits from

Constructor & Destructor Documentation

CDelimitedPathSegment16()

CDelimitedPathSegment16()[private]

Constructor. First phase of two-phase construction method. Does non-allocating construction.

Since
6.0

~CDelimitedPathSegment16()

IMPORT_C~CDelimitedPathSegment16()

Destructor.

Since
6.0

Member Functions Documentation

ConstructL(const TDesC16 &)

voidConstructL(const TDesC16 &aPathSegment)[private]

Second phase of two-phase construction method. Does any allocations required to fully construct the object.

Since
6.0
Pre-condition
First phase of construction is complete.
Post-condition
The object is fully constructed.

Parameters

const TDesC16 & aPathSegmentA descriptor with the initial path segment.

InsertAndEscapeCurrentL(const TDesC16 &)

IMPORT_C voidInsertAndEscapeCurrentL(const TDesC16 &aParam)

Escape encodes the parameter then inserts the escaped version in a position before the current parsed parameter. The new parameter should only contain a single path segment parameter, as any parameter delimiters in the parameter will be converted to an escape triple. The parser is left in a state where its current parameter is the same one as before the insertion.

Since
6.0
Pre-condition
The path segment must have been initially parsed.
Post-condition
The path segment will have been extended to include the new parameter. The current segment will remain as the one before the insertion.

Parameters

const TDesC16 & aParamA descriptor with the unescaped path segment parameter

NewL(const TDesC16 &)

IMPORT_C CDelimitedPathSegment16 *NewL(const TDesC16 &aPathSegment)[static]

Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack.

Since
6.0
Post-condition
Nothing left on the CleanupStack.

Parameters

const TDesC16 & aPathSegmentA descriptor with the initial path segment.

NewLC(const TDesC16 &)

IMPORT_C CDelimitedPathSegment16 *NewLC(const TDesC16 &aPathSegment)[static]

Static factory constructor. Uses two phase construction and leaves a pointer to created object on the CleanupStack.

Since
6.0
Post-condition
Pointer to created object left of CleanupStack.

Parameters

const TDesC16 & aPathSegmentA descriptor with the initial path segment.

PushAndEscapeBackL(const TDesC16 &)

IMPORT_C voidPushAndEscapeBackL(const TDesC16 &aParam)

Escape encodes the parameter then inserts the escaped version at the back of the path segment. The new parameter should only contain a single path segment parameter, as any parameter delimiters in the parameter will be converted to an escape triple. The parser is left in a state where its current parameter is the same one as before the insertion.

CAUTION:

A re-parse is required to ensure that the parser is valid.

Since
6.0
Pre-condition
The path segment must have been initially parsed.
Post-condition
The path segment will have been extended to include the new parameter. The current segment will remain as the one before the insertion.

Parameters

const TDesC16 & aParamA descriptor with the unescaped path segment parameter.

PushAndEscapeFrontL(const TDesC16 &)

IMPORT_C voidPushAndEscapeFrontL(const TDesC16 &aParam)

Escape encodes the parameter then inserts the escaped version at the front of the path segment. The new parameter should only contain a single path segment parameter, as any parameter delimiters in the parameter will be converted to an escape triple. The parser is left in a state where its current parameter is the same one as before the insertion.

CAUTION:

A re-parse is required to ensure that the parser is valid.

Since
6.0
Pre-condition
The path segment must have been initially parsed.
Post-condition
The path segment will have been extended to include the new parameter. The current segment will remain as the one before the insertion.

Parameters

const TDesC16 & aParamA descriptor with the unescaped path segment parameter