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.

Constructor & Destructor Documentation

TFavouritesWapAp()

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

Member Functions Documentation

ApId()

IMPORT_C TUint32 ApId ( ) 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 &)

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

Parameters

RWriteStream & aStream The stream to externalize to.

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStream The stream to externalize from.

IsDefault()

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

IsNull()

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

SetApId(TUint32)

IMPORT_C void SetApId ( TUint32 aApId )
Set value. "Null" and "Default" properties cleared.
Since
0.9

Parameters

TUint32 aApId AP id to set.

SetDefault()

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

SetNull()

IMPORT_C void SetNull ( )
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 & aAp AP to assign from.

operator=(TUint32)

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

Parameters

TUint32 aApId AP 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.