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 void AppendPermission ( CPermission & aPermission )

Parameters

CPermission & aPermission

AppendUncondCap(TCapability)

IMPORT_C void AppendUncondCap ( TCapability aCapability )

Parameters

TCapability aCapability

AppendUncondCapabilities(TUnConditionalPermission)

IMPORT_C void AppendUncondCapabilities ( TUnConditionalPermission aUnConditionals )

Parameters

TUnConditionalPermission aUnConditionals

ConstructL(const CPermissionSet &)

void ConstructL ( const CPermissionSet & aPermSet ) [private]

Parameters

const CPermissionSet & aPermSet

ExternalizeL(RWriteStream &)

IMPORT_C void ExternalizeL ( RWriteStream & aSink ) const

Externalizes permissionset data to stream

Parameters

RWriteStream & aSink

InternalizeL(RReadStream &)

IMPORT_C void InternalizeL ( 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 & aPermSet CPermissionSet 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 & aPermSet CPermissionSet source permissionset object

Permissions()

IMPORT_C const RPermissions & Permissions ( ) const

Permissions()

IMPORT_C RPermissions & Permissions ( )

UnconditionalCaps()

IMPORT_C TUnConditionalPermission UnconditionalCaps ( ) const

UnconditionalCaps(RUnConditionals &)

IMPORT_C void UnconditionalCaps ( RUnConditionals & aUnConditionals ) const

Parameters

RUnConditionals & aUnConditionals

Member Data Documentation

RPermissions iPermissions

RPermissions iPermissions [private]

TUnConditionalPermission iUncondCapSet

TUnConditionalPermission iUncondCapSet [private]