AknsPointerStore Class Reference

class AknsPointerStore

Static class that allows storage of arbitrary data with the skin instance singleton.

No ownership is maintained by AknsPointerStore , and thus the client has to take care of data construction and destruction. No type checking is performed by AknsPointerStore , the client has to cast keys and values according to its needs.

AknSkins.lib

Since
2.6
Public Member Functions
IMPORT_C void RemovePointer (const TAny *)
IMPORT_C TAny * RetrievePointer (const TAny *)
IMPORT_C void StorePointerL (const TAny *, TAny *)
Private Member Functions
AknsPointerStore ()
~AknsPointerStore ()

Constructor & Destructor Documentation

AknsPointerStore()

AknsPointerStore ( ) [private]

~AknsPointerStore()

~AknsPointerStore ( ) [private]

Member Functions Documentation

RemovePointer(const TAny *)

IMPORT_C void RemovePointer ( const TAny * aKey ) [static]

Removes the value associated with the given key (if any).

Since
2.6

Parameters

const TAny * aKey Key as TAny pointer.

RetrievePointer(const TAny *)

IMPORT_C TAny * RetrievePointer ( const TAny * aKey ) [static]

Retrieves the pointer associated with the given key.

Since
2.6

Parameters

const TAny * aKey Key as TAny pointer.

StorePointerL(const TAny *, TAny *)

IMPORT_C void StorePointerL ( const TAny * aKey,
TAny * aValue
) [static]

Stores the given pointer with the given key. No ownership is transferred.

Since
2.6
Exceptions:
If pointer can not be stored, the method leaves with an error code.

Parameters

const TAny * aKey Key as TAny pointer.
TAny * aValue Value as TAny pointer.