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

  • CIMPSSAPSettingsListItem

Constructor & Destructor Documentation

CIMPSSAPSettingsListItem()

CIMPSSAPSettingsListItem()[private]

C++ default constructor.

~CIMPSSAPSettingsListItem()

IMPORT_C~CIMPSSAPSettingsListItem()[virtual]

Destructor.

Member Functions Documentation

AccessGroup()

IMPORT_C TIMPSAccessGroupAccessGroup()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,
TUint32aUid,
TIMPSAccessGroupaGroup
)[static]

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

Since
3.0

Parameters

const TDesC & aSAPNameThe SAP name.
TUint32 aUidThe SAP uid.
TIMPSAccessGroup aGroupThe SAP access group

NewLC(const TDesC &, TUint32)

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

Parameters

const TDesC & aSAPName
TUint32 aUid

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

IMPORT_C CIMPSSAPSettingsListItem *NewLC(const TDesC &aSAPName,
TUint32aUid,
TIMPSAccessGroupaGroup,
TIMPSSAPProtectionaProtection
)[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 & aSAPNameThe SAP name.
TUint32 aUidThe SAP uid.
TIMPSAccessGroup aGroup
TIMPSSAPProtection aProtectionThe SAP protection.

NewLC(const TDesC &, TUint32, TIMPSSAPProtection)

IMPORT_C CIMPSSAPSettingsListItem *NewLC(const TDesC &aSAPName,
TUint32aUid,
TIMPSSAPProtectionaProtection
)[static]

Parameters

const TDesC & aSAPName
TUint32 aUid
TIMPSSAPProtection aProtection

Protection()

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

Uid()

IMPORT_C TUint32Uid()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]