CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref Class Reference

#include <cdbpreftable.h>

Link against: commdb.lib

class CCommsDbConnectionPrefTableView::TCommDbIapConnectionPref

Detailed Description

Encapsulates the rank (CONNECT_PREF_RANKING), direction (CONNECTION_PREF_DIRECTION), and dialog preference (CONNECT_PREF_DIALOG_PREF) fields, plus a TCommDbIapBearer object. A complete connection preference - containing rank, direction, dialogue option, bearers for the dialogue and the prefered IAP.

See also: TCommDbConnectionDirection

Member Attribute Documentation

iBearer

Values for the bearer (CONNECT_PREF_BEARER_SET) and IAP (CONNECT_PREF_IAP) fields.

See also: TCommDbIapBearer

iDialogPref

TCommDbDialogPref iDialogPref

Value for the dialog preference (CONNECT_PREF_DIALOG_PREF) field.

See also: TCommDbDialogPref

iDirection

Value for the direction (CONNECTION_PREF_DIRECTION) field.

See also: TCommDbConnectionDirection

iRanking

TUint32 iRanking

Value for the rank (CONNECT_PREF_BEARER_SET) field.

Constructor & Destructor Documentation

TCommDbIapConnectionPref ( )

IMPORT_CTCommDbIapConnectionPref()

Default constructor. The rank is set to 0, and the direction and dialog preference to unknown.

Member Function Documentation

operator== ( const TCommDbIapConnectionPref & )

IMPORT_C TBooloperator==(const TCommDbIapConnectionPref &aPref)const

Overloaded equality operator. Checks for equality between 'this' and another TCommDbIapConnectionPref object passed in.

ParameterDescription
aPrefObject to compare.

Returns: ETrue if all fields in the objects are equal, otherwise EFalse.