Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: DelimitedPathSegment16.h
Link against: inetprotutil.lib

Class CDelimitedPathSegment16

class CDelimitedPathSegment16 : public CDelimitedDataBase16;

Description

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

Derivation

Members

Defined in CDelimitedPathSegment16:
InsertAndEscapeCurrentL(), NewL(), NewLC(), PushAndEscapeBackL(), PushAndEscapeFrontL(), ~CDelimitedPathSegment16()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CDelimitedDataBase16:
AddBackDelimiterL(), AddFrontDelimiterL(), ConstructL(), InsertCurrentL(), Parse(), ParseReverse(), Parser(), PopBackL(), PopFrontL(), PushBackL(), PushFrontL(), RemoveCurrentL(), SetDelimiter(), TrimBackDelimiterL(), TrimFrontDelimiterL()


Construction and destruction


NewL()

static IMPORT_C CDelimitedPathSegment16 *NewL(const TDesC16 &aPathSegment);

Description

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

Post-Condition

Nothing left on the CleanupStack.

Parameters

const TDesC16 &aPathSegment

A descriptor with the initial path segment.

Return value

CDelimitedPathSegment16 *

A pointer to created object.


NewLC()

static IMPORT_C CDelimitedPathSegment16 *NewLC(const TDesC16 &aPathSegment);

Description

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

Post-Condition

Pointer to created object left of CleanupStack.

Parameters

const TDesC16 &aPathSegment

A descriptor with the initial path segment.

Return value

CDelimitedPathSegment16 *

A pointer to created object.


~CDelimitedPathSegment16()

IMPORT_C ~CDelimitedPathSegment16();

Description

Destructor.

[Top]


Member functions


InsertAndEscapeCurrentL()

IMPORT_C void InsertAndEscapeCurrentL(const TDesC16 &aParam);

Pre-Condition

The path segment must have been initially parsed.

Description

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.

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 &aParam

A descriptor with the unescaped path segment parameter


PushAndEscapeBackL()

IMPORT_C void PushAndEscapeBackL(const TDesC16 &aParam);

Pre-Condition

The path segment must have been initially parsed.

Description

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.

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 &aParam

A descriptor with the unescaped path segment parameter.


PushAndEscapeFrontL()

IMPORT_C void PushAndEscapeFrontL(const TDesC16 &aParam);

Pre-Condition

The path segment must have been initially parsed.

Description

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.

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 &aParam

A descriptor with the unescaped path segment parameter