#include <app/RVPbkContactFieldDefaultPriorities.h>
class RVPbkContactFieldDefaultPriorities |
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() |
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.
See also: CVPbkContactManager::ContactAttributeManagerL CVPbkDefaultAttribute
RVPbkContactFieldDefaultPriorities | ( | ) | [inline] |
Default constructor for an empty array.
TInt | Append | ( | const TVPbkDefaultType | aDefaultType | ) | [inline] |
Appends a default type to the array.
Parameter | Description |
---|---|
aDefaultType | The default type to append in to the array. |
Returns: KErrNone or a system wide error code.
TVPbkDefaultType | At | ( | const TInt | aIndex | ) | const [inline] |
Returns a type at aIndex.
Parameter | Description |
---|---|
aIndex | A zero based index of the element. |
Returns: A type at aIndex.
void | Close | ( | ) | [inline] |
/** Releases resources used for storing the array.
This object must not be used after Close() has been called to it.
TInt | Count | ( | ) | const [inline] |
Returns the number of elements in the array.
Returns: The number of elements in the array.
IMPORT_C HBufC8 * | ExternalizeLC | ( | ) | const |
unnamed namespace
Outputs this objects state to a buffer.
Default priority array pack format 1: stream := VersionNumber ElementCount Element* VersionNumber := TInt8 ElementCount := TInt8 Element := TInt8
Returns: A buffer containing the state of the object.
IMPORT_C void | InternalizeL | ( | const TDesC8 & | aBuffer | ) |
Initializes the instance from the buffer.
Parameter | Description |
---|---|
aBuffer | A buffer that was created using ExternalizeLC. |
TBool | IsEmpty | ( | ) | const [inline] |
Returns true if this array is empty.
Returns: ETrue if the array is empty.