CDelimitedPath16 Class Reference
#include
<delimitedpath16.h>
class CDelimitedPath16 : public CDelimitedDataBase16 |
Detailed Description
Dependencies : CDelimitedStringBase16 Comments : Provides functionality to create a delimited path where components of the path delimited by '/' as defined in RFC2396.
- Since
- 6.0
Constructor & Destructor Documentation
~CDelimitedPath16 ( )
IMPORT_C | ~CDelimitedPath16 | ( | ) | |
Member Function Documentation
InsertAndEscapeCurrentL ( const TDesC16 & )
IMPORT_C void | InsertAndEscapeCurrentL | ( | const TDesC16 & | aSegment | ) | |
Escape encodes the segment then inserts the escaped version in a position before the current parsed segment. The new segment should only contain a single path segment, as any path 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 path must have been initially parsed.
- Post-condition
- The path will have been extended to include the new segment. The current segment will remain as the one before the insertion.
Parameter | Description | aSegment | A descriptor with the unescaped path segment. |
NewL ( const TDesC16 & )
Static factory constructor. Uses two phase construction and leaves nothing on the CleanupStack.
Parameter | Description | aPath | A descriptor with the initial path. |
Returns: A pointer to created object.
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.
Parameter | Description | aPath | A descriptor with the initial path. |
Returns: A pointer to created object.
PushAndEscapeBackL ( const TDesC16 & )
IMPORT_C void | PushAndEscapeBackL | ( | const TDesC16 & | aSegment | ) | |
Escape encodes the segment then inserts the escaped version at the back of the path. The new segment should only contain a single path segment, as any path 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 path will have been extended to include the new segment.
Parameter | Description | aSegment | A descriptor with the unescaped path segment. |
PushAndEscapeFrontL ( const TDesC16 & )
IMPORT_C void | PushAndEscapeFrontL | ( | const TDesC16 & | aSegment | ) | |
Escape encodes the segment then inserts the escaped version at the front of the path. The new segment should only contain a single path segment, as any path 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 path will have been extended to include the new segment.
Parameter | Description | aSegment | A descriptor with the unescaped path segment. |