CRegistryData::CInterfaceData Class Reference

class CRegistryData::CInterfaceData : public CBase

This class manages the entire data for an interface of a dll.

Inherits from

  • CRegistryData::CInterfaceData

Constructor & Destructor Documentation

CInterfaceData(CDllData *)

CInterfaceData(CDllData *aParent)[private]

Parameters

CDllData * aParentA pointer to the parent dll data

CInterfaceData(TUid, CDllData *)

CInterfaceData(TUidaInterfaceUid,
CDllData *aParent
)[private]

Parameters

TUid aInterfaceUidThe unique Id of this interface
CDllData * aParentA pointer to the parent dll data

~CInterfaceData()

~CInterfaceData()

Member Functions Documentation

AddL(const CImplementationData *)

voidAddL(const CImplementationData *aImplementation)
Adds the specified implementation to this interface in the registry.
Pre-condition
This object is fully constructed.
Post-condition
aImplementation is added to the list of implementations for this interface.

Parameters

const CImplementationData * aImplementationThe implementation to add to this interface.

ConstructL()

voidConstructL()[private]
Standard second phase construction function
Pre-condition
This object is fully constructed.
Post-condition
This object is fully constructed and initialized.

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStore)const
Writes out this CInterfaceData to aStore.
Pre-condition
The state of this object is stored in the stream aStore.

Parameters

RWriteStream & aStoreThe stream to store the data in.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStore)
Restores this CInterfaceData to the state specified in aStore.
Pre-condition
This object is full constructed.
Post-condition
This object is set to the state specified in aStore.

Parameters

RReadStream & aStoreThe stream to read the data from.

NewLC(CDllData *)

CInterfaceData *NewLC(CDllData *aParent)[static]
Creates a new CInterfaceData object using the supplied interface id and leave it on the CleanupStack
Post-condition
This object is fully constructed and initialized and is on the CleanupStack.

Parameters

CDllData * aParentA pointer to the parent dll data

NewLC(TUid, CDllData *)

CInterfaceData *NewLC(TUidaInterfaceUid,
CDllData *aParent
)[static]
Creates a new CInterfaceData object and leave it on the CleanupStack
Post-condition
This object is fully constructed and initialized and is on the CleanupStack.

Parameters

TUid aInterfaceUid
CDllData * aParentA pointer to the parent dll data

SetInterfaceUid(TUid)

voidSetInterfaceUid(TUidaInterfaceUid)
Sets the uid of this interface to aInterfaceUid.
Pre-condition
This object is fully constructed.
Post-condition
The Uid of this interface is set to aInterfaceUid

Parameters

TUid aInterfaceUidThe Uid which this object should take.

Member Data Documentation

RPointerArray< CImplementationData > * iImplementations

RPointerArray< CImplementationData > *iImplementations

The implementations related to this interface

TUid iInterfaceUid

TUid iInterfaceUid

The interface UID

CDllData * iParent

CDllData *iParent

Pointer to the parent DLL data