class RVPbkContactFieldDefaultPriorities |
An array of default field priorities.
A helper class for client to manage default attribute priorities of the contact fields. For accessing default information the client uses the attribute manager.
CVPbkContactManager::ContactAttributeManagerL CVPbkDefaultAttribute
Public Member Functions | |
---|---|
RVPbkContactFieldDefaultPriorities () | |
TInt | Append (const TVPbkDefaultType ) |
TVPbkDefaultType | At (const TInt ) |
void | Close () |
TInt | Count () |
IMPORT_C HBufC8 * | ExternalizeLC () |
IMPORT_C void | InternalizeL (const TDesC8 &) |
TBool | IsEmpty () |
Private Attributes | |
---|---|
RArray < TVPbkDefaultType > | iDefaultTypes |
RVPbkContactFieldDefaultPriorities | ( | ) | [inline] |
Default constructor for an empty array.
TInt | Append | ( | const TVPbkDefaultType | aDefaultType | ) | [inline] |
Appends a default type to the array.
const TVPbkDefaultType aDefaultType | The default type to append in to the array. |
TVPbkDefaultType | At | ( | const TInt | aIndex | ) | const [inline] |
Returns a type at aIndex.
const TInt aIndex | A zero based index of the element. |
void | Close | ( | ) | [inline] |
/** Releases resources used for storing the array.
This object must not be used after Close() has been called to it.
IMPORT_C HBufC8 * | ExternalizeLC | ( | ) | const |
Outputs this objects state to a buffer.
Default priority array pack format 1: stream := VersionNumber ElementCount Element* VersionNumber := TInt8 ElementCount := TInt8 Element := TInt8
IMPORT_C void | InternalizeL | ( | const TDesC8 & | aBuffer | ) |
Initializes the instance from the buffer.
const TDesC8 & aBuffer | A buffer that was created using ExternalizeLC. |
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.