CPermissionSet Class Reference

class CPermissionSet : public CBase

CPermissionSet represents list of user grantable permissions and list of unconditional permissions.

CPermissionSet provides accessor and modifier methods to access and modify CPermissionSet object state

rtsecmgrutil.lib

Inherits from

Constructor & Destructor Documentation

CPermissionSet()

CPermissionSet()[private, inline]

CPermissionSet(const CPermissionSet &)

CPermissionSet(const CPermissionSet &aPermSet)[private]

Parameters

const CPermissionSet & aPermSet

~CPermissionSet()

IMPORT_C~CPermissionSet()

Destructor

Member Functions Documentation

AppendPermission(CPermission &)

IMPORT_C voidAppendPermission(CPermission &aPermission)

Parameters

CPermission & aPermission

AppendUncondCap(TCapability)

IMPORT_C voidAppendUncondCap(TCapabilityaCapability)

Parameters

TCapability aCapability

AppendUncondCapabilities(TUnConditionalPermission)

IMPORT_C voidAppendUncondCapabilities(TUnConditionalPermissionaUnConditionals)

Parameters

TUnConditionalPermission aUnConditionals

ConstructL(const CPermissionSet &)

voidConstructL(const CPermissionSet &aPermSet)[private]

Parameters

const CPermissionSet & aPermSet

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aSink)const

Externalizes permissionset data to stream

Parameters

RWriteStream & aSink

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aSource)

Internalizes permissionset data from stream

Parameters

RReadStream & aSource

NewL()

IMPORT_C CPermissionSet *NewL()[static]

Two-phased constructor

Constructs a CPermissionSet instance

NewL(const CPermissionSet &)

IMPORT_C CPermissionSet *NewL(const CPermissionSet &aPermSet)[static]

Two-phased constructor

Constructs a CPermissionSet instance from another permissionset object

Parameters

const CPermissionSet & aPermSetCPermissionSet source permissionset object

NewLC()

IMPORT_C CPermissionSet *NewLC()[static]

Two-phased constructor

Constructs a CPermissionSet instance and leaves the created instance on the cleanupstack

NewLC(const CPermissionSet &)

IMPORT_C CPermissionSet *NewLC(const CPermissionSet &aPermSet)[static]

Two-phased constructor

Constructs a CPermissionSet instance from another permissionset object and leaves the created instance on the cleanupstack

Parameters

const CPermissionSet & aPermSetCPermissionSet source permissionset object

Permissions()

IMPORT_C const RPermissions &Permissions()const

Permissions()

IMPORT_C RPermissions &Permissions()

UnconditionalCaps()

IMPORT_C TUnConditionalPermissionUnconditionalCaps()const

UnconditionalCaps(RUnConditionals &)

IMPORT_C voidUnconditionalCaps(RUnConditionals &aUnConditionals)const

Parameters

RUnConditionals & aUnConditionals

Member Data Documentation

RPermissions iPermissions

RPermissions iPermissions[private]

TUnConditionalPermission iUncondCapSet

TUnConditionalPermission iUncondCapSet[private]