TVPbkContactStoreUriPtr Class Reference
class TVPbkContactStoreUriPtr : public MVPbkStreamable |
A class for using contact store URIs (Uniform Resource Identifier).
A URI identifies a contact store. This class is a helper for accessing URI data. It can be used to separate the different parts of the URI and compare URIs.
E.g. A URI of the store could be cntdb://c:contacts.cdb. This URI have three components: 1) cntdb is a scheme - EContactStoreUriStoreType 2) c is a drive of the database - EContactStoreUriStoreDrive 3) c:contacts.cdb is the location - EContactStoreUriStoreLocation
VPbkEng.lib
Constructor & Destructor Documentation
TVPbkContactStoreUriPtr(const TDesC &)
IMPORT_C | TVPbkContactStoreUriPtr | ( | const TDesC & | aStoreUri | ) | |
Constructs a URI pointer to aStoreUri.
Parameters
const TDesC & aStoreUri | A reference to the contact store URI. |
TVPbkContactStoreUriPtr()
IMPORT_C | TVPbkContactStoreUriPtr | ( | ) | |
Member Functions Documentation
Compare(const TVPbkContactStoreUriPtr &, TVPbkContactStoreUriComponent)
Compares this URI's component to aUri's component.
Compare(const TDesC &, TVPbkContactStoreUriComponent)
Compares this URI's component to aUriComponent.
Parameters
const TDesC & aUriComponent | A descriptor that contains the component data. |
TVPbkContactStoreUriComponent aComponent | Defines the component of this URI that is compared to aUriComponent. |
Compare(const TDesC &, const TDesC &)
TInt
| Compare | ( | const TDesC & | aLhsUri, |
| const TDesC & | aRhsUri |
| ) | const [private] |
Component(TVPbkContactStoreUriComponent)
Returns a pointer to the aComponent part of URI.
ExternalizeL(RWriteStream &)
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Outputs this objects state to aStream.
Parameters
RWriteStream & aStream | A stream for writing the object state. |
ExternalizedSize()
IMPORT_C TInt | ExternalizedSize | ( | ) | const [virtual] |
Returns the externalized size of the object in bytes.
Length()
IMPORT_C TInt | Length | ( | ) | const |
Returns the length of the URI.
Set(const TVPbkContactStoreUriPtr &)
Sets this URI pointer to point to the same URI as aUri.
UriDes()
IMPORT_C const TDesC & | UriDes | ( | ) | const |
Returns a descriptor that holds the whole Uri.
Member Enumerations Documentation
Enum TVPbkContactStoreUriComponent
Enumerators
EContactStoreUriAllComponents | |
EContactStoreUriStoreType | |
EContactStoreUriStoreDrive | |
EContactStoreUriStoreLocation | |
Member Data Documentation
TPtrC
iUriBufferPointer
TPtrC
| iUriBufferPointer | [private] |
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.