class CDelimitedQuery8 : public CDelimitedDataBase8 |
Dependencies : CDelimitedStringBase8 Comments : Provides functionality to create a delimited query where components of the query delimited by '&' as defined in RFC2396. 6.0
Public Member Functions | |
---|---|
~CDelimitedQuery8() | |
IMPORT_C void | InsertAndEscapeCurrentL(const TDesC8 &) |
IMPORT_C CDelimitedQuery8 * | NewL(const TDesC8 &) |
IMPORT_C CDelimitedQuery8 * | NewLC(const TDesC8 &) |
IMPORT_C void | PushAndEscapeBackL(const TDesC8 &) |
IMPORT_C void | PushAndEscapeFrontL(const TDesC8 &) |
Private Member Functions | |
---|---|
CDelimitedQuery8() | |
void | ConstructL(const TDesC8 &) |
CDelimitedQuery8 | ( | ) | [private] |
Constructor. First phase of two-phase construction method. Does non-allocating construction.
6.0
void | ConstructL | ( | const TDesC8 & | aQuery | ) | [private] |
Second phase of two-phase construction method. Does any allocations required to fully construct the object.
6.0
First phase of construction is complete.
The object is fully constructed.
const TDesC8 & aQuery | A descriptor with the initial query. |
IMPORT_C void | InsertAndEscapeCurrentL | ( | 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.
6.0
The query must have been initially parsed.
The query will have been extended to include the new segment. The current segment will remain as the one before the insertion.
const TDesC8 & aSegment | A descriptor with the unescaped query segment. |
IMPORT_C CDelimitedQuery8 * | NewL | ( | const TDesC8 & | aQuery | ) | [static] |
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack.
6.0
A pointer to created object.
Nothing left on the CleanupStack.
const TDesC8 & aQuery | A descriptor with the initial query. |
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.
6.0
A pointer to created object.
Pointer to created object left of CleanupStack.
const TDesC8 & aQuery | A descriptor with the initial query. |
IMPORT_C void | PushAndEscapeBackL | ( | 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.
A re-parse is required to ensure that the parser is valid.
The delimiter must have been set.
The query will have been extended to include the new segment.
const TDesC8 & aSegment | A descriptor with the unescaped query segment. |
IMPORT_C void | PushAndEscapeFrontL | ( | 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.
A re-parse is required to ensure that the parser is valid.
The delimiter must have been set.
The query will have been extended to include the new segment.
const TDesC8 & aSegment | A descriptor with the unescaped query segment. |