ESock::RMetaExtensionContainerC Class Reference

class ESock::RMetaExtensionContainerC

Represents a read only meta extension container.

Public Member Functions
RMetaExtensionContainerC()
~RMetaExtensionContainerC()
IMPORT_C voidClose()
IMPORT_C const Meta::SMetaData *FindExtension(const Meta::STypeId &)
IMPORT_C const Meta::SMetaData &FindExtensionL(const Meta::STypeId &)
IMPORT_C voidOpen(const RMetaExtensionContainerC &)
Protected Member Functions
CMetaExtensionContainerImplBase *Container()
IMPORT_C voidOpen()
voidSetContainer(CMetaExtensionContainerImplBase *)
Private Attributes
CMetaExtensionContainerImplBase *iContainerImpl

Constructor & Destructor Documentation

RMetaExtensionContainerC()

IMPORT_CRMetaExtensionContainerC()

Default c'tor.

~RMetaExtensionContainerC()

IMPORT_C~RMetaExtensionContainerC()

D'tor

Member Functions Documentation

Close()

IMPORT_C voidClose()

Releases a reference to the underlying container implementation

Container()

CMetaExtensionContainerImplBase *Container()const [protected, inline]

Returns a pointer to the container implementation being represented by this interface

FindExtension(const Meta::STypeId &)

IMPORT_C const Meta::SMetaData *FindExtension(const Meta::STypeId &aTypeId)const

Finds the extension specified within the container

Parameters

const Meta::STypeId & aTypeIdThe STypeId of the meta extension to find

FindExtensionL(const Meta::STypeId &)

IMPORT_C const Meta::SMetaData &FindExtensionL(const Meta::STypeId &aTypeId)const
Finds the extension specified within the container
Exceptions
Leaves

with KErrNotFound if the meta extension was not present in the container

Parameters

const Meta::STypeId & aTypeIdThe STypeId of the meta extension to find

Open(const RMetaExtensionContainerC &)

IMPORT_C voidOpen(const RMetaExtensionContainerC &aSource)

Opens a reference against a specific container. This RMetaExtensionContainerC must not be open already.

Parameters

const RMetaExtensionContainerC & aSourceContainer to open this instance against. A reference will be automatically added to the source container.

Open()

IMPORT_C voidOpen()[protected]

Opens an additional reference to the underlying container implementation.

SetContainer(CMetaExtensionContainerImplBase *)

voidSetContainer(CMetaExtensionContainerImplBase *aContainer)[protected, inline]

Sets the initial container implementation to be represented by this interface

Parameters

CMetaExtensionContainerImplBase * aContainer

Member Data Documentation

CMetaExtensionContainerImplBase * iContainerImpl

CMetaExtensionContainerImplBase *iContainerImpl[private]