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 * aParent A pointer to the parent dll data

CInterfaceData(TUid, CDllData *)

CInterfaceData ( TUid aInterfaceUid,
CDllData * aParent
) [private]

Parameters

TUid aInterfaceUid The unique Id of this interface
CDllData * aParent A pointer to the parent dll data

~CInterfaceData()

~CInterfaceData ( )

Member Functions Documentation

AddL(const CImplementationData *)

void AddL ( 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 * aImplementation The implementation to add to this interface.

ConstructL()

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

ExternalizeL(RWriteStream &)

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

Parameters

RWriteStream & aStore The stream to store the data in.

InternalizeL(RReadStream &)

void InternalizeL ( 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 & aStore The 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 * aParent A pointer to the parent dll data

NewLC(TUid, CDllData *)

CInterfaceData * NewLC ( TUid aInterfaceUid,
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 * aParent A pointer to the parent dll data

SetInterfaceUid(TUid)

void SetInterfaceUid ( TUid aInterfaceUid )
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 aInterfaceUid The 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