CIMPSSAPSettingsListItem Class Reference

class CIMPSSAPSettingsListItem : public CBase

CIMPSSAPSettingsListItem is "light weight" representation of SAP settings. It contains only SAP name, UID, protection level, and access group.

CIMPSSAPSettingsList uses CIMPSSAPSettingsListItems to represent stored SAP settings.

WVSAPSettingsStore.dll
Since
3.0

Inherits from

Constructor & Destructor Documentation

CIMPSSAPSettingsListItem()

CIMPSSAPSettingsListItem ( ) [private]

C++ default constructor.

~CIMPSSAPSettingsListItem()

IMPORT_C ~CIMPSSAPSettingsListItem ( ) [virtual]

Destructor.

Member Functions Documentation

AccessGroup()

IMPORT_C TIMPSAccessGroup AccessGroup ( ) const
Gets the SAP settings access group.
Since
3.0

Name()

IMPORT_C const TDesC & Name ( ) const
Gets the SAP settings name.
Since
3.0

NewLC(const TDesC &, TUint32, TIMPSAccessGroup)

IMPORT_C CIMPSSAPSettingsListItem * NewLC ( const TDesC & aSAPName,
TUint32 aUid,
TIMPSAccessGroup aGroup
) [static]

Two-phased constructor. Defaults the SAP protection level to ESAPNoProtection.

Since
3.0

Parameters

const TDesC & aSAPName The SAP name.
TUint32 aUid The SAP uid.
TIMPSAccessGroup aGroup The SAP access group

NewLC(const TDesC &, TUint32)

IMPORT_C CIMPSSAPSettingsListItem * NewLC ( const TDesC & aSAPName,
TUint32 aUid
) [static]

Parameters

const TDesC & aSAPName
TUint32 aUid

NewLC(const TDesC &, TUint32, TIMPSAccessGroup, TIMPSSAPProtection)

IMPORT_C CIMPSSAPSettingsListItem * NewLC ( const TDesC & aSAPName,
TUint32 aUid,
TIMPSAccessGroup aGroup,
TIMPSSAPProtection aProtection
) [static]

Two-phased constructor. Overload method accepting also the protection level. If the passed protection level isn't one of the defined in TIMPSSAPProtection, leaves with KErrArgument.

Since
3.0

Parameters

const TDesC & aSAPName The SAP name.
TUint32 aUid The SAP uid.
TIMPSAccessGroup aGroup
TIMPSSAPProtection aProtection The SAP protection.

NewLC(const TDesC &, TUint32, TIMPSSAPProtection)

IMPORT_C CIMPSSAPSettingsListItem * NewLC ( const TDesC & aSAPName,
TUint32 aUid,
TIMPSSAPProtection aProtection
) [static]

Parameters

const TDesC & aSAPName
TUint32 aUid
TIMPSSAPProtection aProtection

Protection()

IMPORT_C TIMPSSAPProtection Protection ( ) const
Gets the SAP settings protection level.
Since
3.0

Uid()

IMPORT_C TUint32 Uid ( ) const
Gets the SAP settings UID.
Since
3.0

Member Data Documentation

TIMPSAccessGroup iGroup

TIMPSAccessGroup iGroup [private]

TIMPSSAPProtection iProtection

TIMPSSAPProtection iProtection [private]

TAny * iReserved1

TAny * iReserved1 [private]

TAny * iReserved2

TAny * iReserved2 [private]

HBufC * iSAPName

HBufC * iSAPName [private]

TUint32 iUid

TUint32 iUid [private]