Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <DelimitedQuery8.h>
Link against: inetprotutil.lib

Class CDelimitedQuery8

class CDelimitedQuery8 : public CDelimitedDataBase8;

Description

Dependencies : CDelimitedStringBase8 Comments : Provides functionality to create a delimited query where components of the query delimited by '&' as defined in RFC2396.

Derivation

Members

Defined in CDelimitedQuery8:

Inherited from CBase:

Inherited from CDelimitedDataBase8:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C static CDelimitedQuery8* NewL(const TDesC8 &aQuery);

Description

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

Post-Condition

Nothing left on the CleanupStack.

Parameters

const TDesC8 &aQuery

A descriptor with the initial query.

Return value

CDelimitedQuery8 *

A pointer to created object.


NewLC(const TDesC8 &)

IMPORT_C static CDelimitedQuery8* NewLC(const TDesC8 &aQuery);

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 TDesC8 &aQuery

A descriptor with the initial query.

Return value

CDelimitedQuery8 *

A pointer to created object.


~CDelimitedQuery8()

IMPORT_C ~CDelimitedQuery8();

Description

Destructor.

[Top]


Member functions


InsertAndEscapeCurrentL(const TDesC8 &)

IMPORT_C void InsertAndEscapeCurrentL(const TDesC8 &aSegment);

Pre-Condition

The query must have been initially parsed.

Description

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

Post-Condition

The query will have been extended to include the new segment. The current segment will remain as the one before the insertion.

Parameters

const TDesC8 &aSegment

A descriptor with the unescaped query segment.


PushAndEscapeFrontL(const TDesC8 &)

IMPORT_C void PushAndEscapeFrontL(const TDesC8 &aSegment);

Pre-Condition

The delimiter must have been set.

Description

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

Post-Condition

The query will have been extended to include the new segment.

Parameters

const TDesC8 &aSegment

A descriptor with the unescaped query segment.


PushAndEscapeBackL(const TDesC8 &)

IMPORT_C void PushAndEscapeBackL(const TDesC8 &aSegment);

Pre-Condition

The delimiter must have been set.

Description

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

Post-Condition

The query will have been extended to include the new segment.

Parameters

const TDesC8 &aSegment

A descriptor with the unescaped query segment.