CDelimitedQuery16 Class Reference
class CDelimitedQuery16 : public CDelimitedDataBase16
|
Dependencies : CDelimitedStringBase16 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
CDelimitedQuery16()
CDelimitedQuery16
|
(
|
)
|
[private]
|
Constructor. First phase of two-phase construction method. Does non-allocating construction.
~CDelimitedQuery16()
IMPORT_C
|
~CDelimitedQuery16
|
(
|
)
|
|
Member Functions Documentation
ConstructL(const TDesC16 &)
void
|
ConstructL
|
(
|
const
TDesC16
&
|
aQuery
|
)
|
[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
& aQuery
|
A descriptor with the initial query.
|
InsertAndEscapeCurrentL(const TDesC16 &)
IMPORT_C void
|
InsertAndEscapeCurrentL
|
(
|
const
TDesC16
&
|
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
const
TDesC16
& aSegment
|
A descriptor with the unescaped query segment.
|
NewL(const TDesC16 &)
Static factory constructor. Uses two phase construction and leaves nothing on the
CleanupStack
.
Parameters
const
TDesC16
& aQuery
|
A descriptor with the initial query.
|
NewLC(const TDesC16 &)
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
& aQuery
|
A descriptor with the initial query.
|
PushAndEscapeBackL(const TDesC16 &)
IMPORT_C void
|
PushAndEscapeBackL
|
(
|
const
TDesC16
&
|
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
const
TDesC16
& aSegment
|
A descriptor with the unescaped query segment.
|
PushAndEscapeFrontL(const TDesC16 &)
IMPORT_C void
|
PushAndEscapeFrontL
|
(
|
const
TDesC16
&
|
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
const
TDesC16
& aSegment
|
A descriptor with the unescaped query segment.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.