NSmlDmURI Class Reference

class NSmlDmURI

NSmlDmURI contains just static methods for parsing URIs

Since
Public Member Functions
IMPORT_C TPtrC8LastURISeg(const TDesC8 &)
IMPORT_C TIntNumOfURISegs(const TDesC8 &)
IMPORT_C TPtrC8ParentURI(const TDesC8 &)
IMPORT_C TPtrC8RemoveDotSlash(const TDesC8 &)
IMPORT_C TPtrC8RemoveLastSeg(const TDesC8 &)
IMPORT_C TPtrC8RemoveProp(const TDesC8 &)
IMPORT_C TPtrC8URISeg(const TDesC8 &, TInt)

Member Functions Documentation

LastURISeg(const TDesC8 &)

IMPORT_C TPtrC8LastURISeg(const TDesC8 &aURI)[static]

Return the last URI segment of given URI

Parameters

const TDesC8 & aURIUri

NumOfURISegs(const TDesC8 &)

IMPORT_C TIntNumOfURISegs(const TDesC8 &aURI)[static]

Return the number of URI segments of given URI

Parameters

const TDesC8 & aURIUri

ParentURI(const TDesC8 &)

IMPORT_C TPtrC8ParentURI(const TDesC8 &aURI)[static]

Return the parent URI of given URI

Parameters

const TDesC8 & aURIUri

RemoveDotSlash(const TDesC8 &)

IMPORT_C TPtrC8RemoveDotSlash(const TDesC8 &aURI)[static]

Return the URI without ./ at the beginning, if those exist

Parameters

const TDesC8 & aURIUri

RemoveLastSeg(const TDesC8 &)

IMPORT_C TPtrC8RemoveLastSeg(const TDesC8 &aURI)[static]

Return the URI without last segment

Parameters

const TDesC8 & aURIUri

RemoveProp(const TDesC8 &)

IMPORT_C TPtrC8RemoveProp(const TDesC8 &aURI)[static]

Return the URI without property info at the end (?prop=...)

Parameters

const TDesC8 & aURIUri

URISeg(const TDesC8 &, TInt)

IMPORT_C TPtrC8URISeg(const TDesC8 &aURI,
TIntaLocation
)[static]

Return the aLocationth URI segment.

Parameters

const TDesC8 & aURIUri
TInt aLocationThe wanted segment number