TFavouritesWapAp Class Reference

class TFavouritesWapAp

TFavouritesWapAp is the representation one the Access Point used in favourites. In addition to the AP Uid-s an item may hold "Use default" and "Unset/Null" values.

Public Member Functions
TFavouritesWapAp()
IMPORT_C TUint32ApId()
voidExternalizeL(RWriteStream &)
voidInternalizeL(RReadStream &)
IMPORT_C TBoolIsDefault()
IMPORT_C TBoolIsNull()
IMPORT_C voidSetApId(TUint32)
IMPORT_C voidSetDefault()
IMPORT_C voidSetNull()
IMPORT_C TFavouritesWapAp &operator=(const TFavouritesWapAp &)
IMPORT_C TFavouritesWapAp &operator=(TUint32)
Private Member Enumerations
enumTValueKind { ENormal, ENull, EDefault }
Private Attributes
TUint32 iApId
TValueKind iValueKind

Constructor & Destructor Documentation

TFavouritesWapAp()

IMPORT_CTFavouritesWapAp()
C++ default constructor. Initializes to "Default".
Since
0.9

Member Functions Documentation

ApId()

IMPORT_C TUint32ApId()const
Get the AP id. If the value is "Null" or "Default", this method panics. Check those before calling this method!
Since
0.9

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const
Externalize into a stream.
Since
0.9

Parameters

RWriteStream & aStreamThe stream to externalize to.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)
Internalize from a stream.
Since
0.9

Parameters

RReadStream & aStreamThe stream to externalize from.

IsDefault()

IMPORT_C TBoolIsDefault()const
Check if value is "Default".
Since
0.9

IsNull()

IMPORT_C TBoolIsNull()const
Check if value is unset.
Since
0.9

SetApId(TUint32)

IMPORT_C voidSetApId(TUint32aApId)
Set value. "Null" and "Default" properties cleared.
Since
0.9

Parameters

TUint32 aApIdAP id to set.

SetDefault()

IMPORT_C voidSetDefault()
Set value is "Default". Any previous value is lost.
Since
0.9

SetNull()

IMPORT_C voidSetNull()
Set value is unset. Any previous value is lost.
Since
0.9

operator=(const TFavouritesWapAp &)

IMPORT_C TFavouritesWapAp &operator=(const TFavouritesWapAp &aAp)
Assignment operator (from another TFavouritesWapAp).
Since
0.9

Parameters

const TFavouritesWapAp & aApAP to assign from.

operator=(TUint32)

IMPORT_C TFavouritesWapAp &operator=(TUint32aApId)
Assignment operator (from TUint32). "Null" and "Default" properties cleared.
Since
0.9

Parameters

TUint32 aApIdAP id to assign from.

Member Enumerations Documentation

Enum TValueKind

This enum holds the value kind ("Null", "Default" or just normal).

Enumerators

ENormal
ENull
EDefault

Member Data Documentation

TUint32 iApId

TUint32 iApId[private]

AP id. Meaningless if value is "Null" or "Default".

TValueKind iValueKind

TValueKind iValueKind[private]

Value kind.