CDelimitedQuery8 Class Reference

#include <delimitedquery8.h>

class CDelimitedQuery8 : public CDelimitedDataBase8

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

~CDelimitedQuery8 ( )

IMPORT_C~CDelimitedQuery8()

Destructor.

Since
6.0

Member Function Documentation

InsertAndEscapeCurrentL ( const TDesC8 & )

IMPORT_C voidInsertAndEscapeCurrentL(const TDesC8 &aSegment)

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.

Since
6.0
Pre-condition
The query must have been initially parsed.
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
aSegmentA descriptor with the unescaped query segment.

NewL ( const TDesC8 & )

IMPORT_C CDelimitedQuery8 *NewL(const TDesC8 &aQuery)[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
aQueryA descriptor with the initial query.
Return Value
A pointer to created object.

NewLC ( const TDesC8 & )

IMPORT_C CDelimitedQuery8 *NewLC(const TDesC8 &aQuery)[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
aQueryA descriptor with the initial query.
Return Value
A pointer to created object.

PushAndEscapeBackL ( const TDesC8 & )

IMPORT_C voidPushAndEscapeBackL(const TDesC8 &aSegment)

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.

CAUTION:

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

Since
6.0
Pre-condition
The delimiter must have been set.
Post-condition
The query will have been extended to include the new segment.
Parameters
aSegmentA descriptor with the unescaped query segment.

PushAndEscapeFrontL ( const TDesC8 & )

IMPORT_C voidPushAndEscapeFrontL(const TDesC8 &aSegment)

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.

CAUTION:

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

Since
6.0
Pre-condition
The delimiter must have been set.
Post-condition
The query will have been extended to include the new segment.
Parameters
aSegmentA descriptor with the unescaped query segment.