CDelimitedPathSegment8 Class Reference
#include
<delimitedpathsegment8.h>
class CDelimitedPathSegment8 : public CDelimitedDataBase8 |
Detailed Description
Dependencies : CDelimitedStringBase8 Comments : Provides functionality to create a delimited path segment where components of the path segment delimited by '/' as defined in RFC2396.
- Since
- 6.0
Constructor & Destructor Documentation
~CDelimitedPathSegment8 ( )
IMPORT_C | ~CDelimitedPathSegment8 | ( | ) | |
Member Function Documentation
InsertAndEscapeCurrentL ( const TDesC8 & )
IMPORT_C void | InsertAndEscapeCurrentL | ( | const TDesC8 & | aParam | ) | |
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.
- Since
- 6.0
- Pre-condition
- The path segment must have been initially parsed.
- 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.
Parameter | Description | aParam | A descriptor with the unescaped path segment parameter |
NewL ( const TDesC8 & )
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack.
Parameter | Description | aPathSegment | A descriptor with the initial path segment. |
Returns: A pointer to created object.
NewLC ( const TDesC8 & )
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.
Parameter | Description | aPathSegment | A descriptor with the initial path segment. |
Returns: A pointer to created object.
PushAndEscapeBackL ( const TDesC8 & )
IMPORT_C void | PushAndEscapeBackL | ( | const TDesC8 & | aParam | ) | |
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.
CAUTION:
A re-parse is required to ensure that the parser is valid.
- Since
- 6.0
- Pre-condition
- The path segment must have been initially parsed.
- 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.
Parameter | Description | aParam | A descriptor with the unescaped path segment parameter |
PushAndEscapeFrontL ( const TDesC8 & )
IMPORT_C void | PushAndEscapeFrontL | ( | const TDesC8 & | aParam | ) | |
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.
CAUTION:
A re-parse is required to ensure that the parser is valid.
- Since
- 6.0
- Pre-condition
- The path segment must have been initially parsed.
- 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.
Parameter | Description | aParam | A descriptor with the unescaped path segment parameter. |