ESock::RMetaExtensionContainerC Class Reference

class ESock::RMetaExtensionContainerC

Represents a read only meta extension container.

Public Member Functions
RMetaExtensionContainerC ()
~RMetaExtensionContainerC ()
IMPORT_C void Close ()
IMPORT_C const Meta::SMetaData * FindExtension (const Meta::STypeId &)
IMPORT_C const Meta::SMetaData & FindExtensionL (const Meta::STypeId &)
IMPORT_C void Open (const RMetaExtensionContainerC &)
Protected Member Functions
CMetaExtensionContainerImplBase * Container ()
IMPORT_C void Open ()
void SetContainer (CMetaExtensionContainerImplBase *)
Private Attributes
CMetaExtensionContainerImplBase * iContainerImpl

Constructor & Destructor Documentation

RMetaExtensionContainerC()

IMPORT_C RMetaExtensionContainerC ( )

Default c'tor.

~RMetaExtensionContainerC()

IMPORT_C ~RMetaExtensionContainerC ( )

D'tor

Member Functions Documentation

Close()

IMPORT_C void Close ( )

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 & aTypeId The 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 & aTypeId The STypeId of the meta extension to find

Open(const RMetaExtensionContainerC &)

IMPORT_C void Open ( const RMetaExtensionContainerC & aSource )

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

Parameters

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

Open()

IMPORT_C void Open ( ) [protected]

Opens an additional reference to the underlying container implementation.

SetContainer(CMetaExtensionContainerImplBase *)

void SetContainer ( 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]