CApSelect Class Reference

#include <mw/ApSelect.h>

Link against: APEngine.lib

class CApSelect : public CBase

Inherits from

  • CApSelect

    Detailed Description

    This class is used to help client's access point selection. Selection can be tailored with specific filters, rules and sort order. Provides methods for setting and getting filters and sort order.

    Constructor & Destructor Documentation

    CApSelect ( )

    IMPORT_CCApSelect()[protected]

    C++ default constructor.

    Deprecated

    ~CApSelect ( )

    IMPORT_C~CApSelect()[virtual]

    Destructor.

    Deprecated

    Member Function Documentation

    AllListItemDataL ( CApListItemList & )

    IMPORT_C TIntAllListItemDataL(CApListItemList &aList)

    Provides all data in a CApListItemList array. Deprecated

    ParameterDescription
    aListA reference to a CApListItemList object to hold the values.

    Returns: The number of items in the list. All elements in the aList array and their memory will be freed inside the routine. The routine expands or shrinks the array as necessary to minimize memory consumption.

    BearerFilter ( )

    IMPORT_C TIntBearerFilter()

    Gets the current bearer-type filter Deprecated

    Returns: The current bearer-type filter

    BearerType ( )

    IMPORT_C TApBearerTypeBearerType()

    Gets the bearer-type of the current access point Deprecated

    Returns: The bearer-type of the current access point.

    ConstructL ( CCommsDatabase &, TInt, TInt, TInt )

    IMPORT_C voidConstructL(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType
    )[protected]

    Second-phase constructor. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending

    ConstructL ( CCommsDatabase &, TInt, TInt, TInt, TInt )

    IMPORT_C voidConstructL(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType,
    TIntaReqIpvType
    )[protected]

    Second-phase constructor. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending
    aReqIpvTypeFiltering criteria on the IPv type of the access point. In case of GPRS, GPRS_PDP_TYPE holds it, while in case of CSD, all CSD access points are considered to be IPv4 & IPv6 (both)

    ConstructL ( CCommsDatabase &, TInt, TInt, TInt, TInt, TVpnFilterType )

    IMPORT_C voidConstructL(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType,
    TIntaReqIpvType,
    TVpnFilterTypeaVpnFilterType
    )[protected]

    Second-phase constructor. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending
    aReqIpvTypeFiltering criteria on the IPv type of the access point. In case of GPRS, GPRS_PDP_TYPE holds it, while in case of CSD, all CSD access points are considered to be IPv4 & IPv6 (both)
    aVpnFilterTypea TVpnFilterType enum specifying the vpn filtering.

    ConstructL ( CCommsDatabase &, TInt, TInt, TInt, TInt, TVpnFilterType, TBool )

    IMPORT_C voidConstructL(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType,
    TIntaReqIpvType,
    TVpnFilterTypeaVpnFilterType,
    TBoolaIncludeEasyWlan
    )[protected]

    Second-phase constructor. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending
    aReqIpvTypeFiltering criteria on the IPv type of the access point. In case of GPRS, GPRS_PDP_TYPE holds it, while in case of CSD, all CSD access points are considered to be IPv4 & IPv6 (both)
    aVpnFilterTypea TVpnFilterType enum specifying the vpn filtering.
    aIncludeEasyWlanTBool specifying whther to include EasyWlan access point in the list or not...

    Count ( )

    IMPORT_C TUint32Count()

    Counts the items in the list Deprecated

    Returns: The number of items in the list.

    IsReadOnly ( )

    IMPORT_C TBoolIsReadOnly()const

    Returns whether the current item is read-only or not. Deprecated

    Returns: Returns whether the current item is read-only or not.

    IspTypeFilter ( )

    IMPORT_C TIntIspTypeFilter()

    Gets the current ISP-type filter Deprecated

    Returns: The current ISP-type filter

    MoveLast ( )

    IMPORT_C TBoolMoveLast()

    Navigates to the last access point in the list. Deprecated

    Returns: Boolean indicating the success of the operation.

    MoveNext ( )

    IMPORT_C TBoolMoveNext()

    Navigates to the next access point in the list. Deprecated

    Returns: Boolean indicating the success of the operation.

    MovePrev ( )

    IMPORT_C TBoolMovePrev()

    Navigates to the previous access point in the list. Deprecated

    Returns: Boolean indicating the success of the operation.

    MoveToFirst ( )

    IMPORT_C TBoolMoveToFirst()

    Navigates to the first access point in the list. Deprecated

    Returns: Boolean indicating the success of the operation.

    Name ( )

    IMPORT_C const TDesC &Name()

    Gets the name of the 'current' access point Ownership of the returned text is not passed. Deprecated

    Returns: The name of the current access point

    NewLC ( CCommsDatabase &, TInt, TInt, TInt )

    IMPORT_C CApSelect *NewLC(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType
    )[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending

    Returns: The constructed CApSelect.

    NewLC ( CCommsDatabase &, TInt, TInt, TInt, TInt )

    IMPORT_C CApSelect *NewLC(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType,
    TIntaReqIpvType
    )[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending
    aReqIpvTypeFiltering criteria on the IPv type of the access point. In case of GPRS, GPRS_PDP_TYPE holds it, while in case of CSD, all CSD access points are considered to be IPv4 & IPv6 (both)

    Returns: The constructed CApSelect.

    NewLC ( CCommsDatabase &, TInt, TInt, TInt, TInt, TVpnFilterType )

    IMPORT_C CApSelect *NewLC(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType,
    TIntaReqIpvType,
    TVpnFilterTypeaVpnFilterType
    )[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending
    aReqIpvTypeFiltering criteria on the IPv type of the access point. In case of GPRS, GPRS_PDP_TYPE holds it, while in case of CSD, all CSD access points are considered to be IPv4 & IPv6 (both)
    aVpnFilterTypea TVpnFilterType enum specifying the vpn filtering.

    Returns: The constructed CApSelect.

    NewLC ( CCommsDatabase &, TInt, TInt, TInt, TInt, TVpnFilterType, TBool )

    IMPORT_C CApSelect *NewLC(CCommsDatabase &aDb,
    TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType,
    TIntaReqIpvType,
    TVpnFilterTypeaVpnFilterType,
    TBoolaIncludeEasyWlan
    )[static]

    Two-phased constructor. Leaves on failure, places instance on cleanup stack. Deprecated

    ParameterDescription
    aDba pointer to a CCommsDataBase.
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending
    aReqIpvTypeFiltering criteria on the IPv type of the access point. In case of GPRS, GPRS_PDP_TYPE holds it, while in case of CSD, all CSD access points are considered to be IPv4 & IPv6 (both)
    aVpnFilterTypea TVpnFilterType enum specifying the vpn filtering.
    aIncludeEasyWlanTBool specifying whther to include EasyWlan access point in the list or not...

    Returns: The constructed CApSelect.

    SetFiltersL ( TInt, TInt, TInt )

    IMPORT_C voidSetFiltersL(TIntaIspFilter,
    TIntaBearerFilter,
    TIntaSortType
    )

    Sets filters and sorting order for the list of available access points Deprecated

    ParameterDescription
    aBearerFilterFiltering criteria on bearer type Possible values are the TApBearer enums and their combinations (or-ed).
    aSortTypeSpecifies the sort order to use. Possible values are: KEApSortUidAscending, KEApSortUidDescending, KEApSortNameAscending, KEApSortNameDescending

    SortOrder ( )

    IMPORT_C TIntSortOrder()

    Gets the current sorting order Deprecated

    Returns: The current sorting order

    Type ( )

    IMPORT_C TCommsDbIspTypeType()

    Gets the ISP-type of the current access point Deprecated

    Returns: The ISP-type of the current access point.

    Uid ( )

    IMPORT_C TUint32Uid()

    Gets the UID of the current access point Deprecated

    Returns: The UID of the current access point