Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
CObjectConIx Class Reference

A container for object containers. More...

#include <e32base.h>

Inheritance diagram for CObjectConIx:
CBase

Public Member Functions

IMPORT_C ~CObjectConIx ()
 Destructor.
 
IMPORT_C CObjectCon * Lookup (TInt aFindHandle) const
 Gets a pointer to the object container with the unique ID from the specified find handle.
 
IMPORT_C CObjectCon * CreateL ()
 Creates a new object container and adds it into this container index's collection.
 
IMPORT_C void Remove (CObjectCon *aCon)
 Removes the specified object container from this container index and deletes it.
 
- Public Member Functions inherited from CBase
 CBase ()
 Default constructor.
 
virtual IMPORT_C ~CBase ()
 Virtual destructor.
 
TAny * operator new (TUint aSize, TAny *aBase) __NO_THROW
 Initialises the object to binary zeroes.
 
TAny * operator new (TUint aSize) __NO_THROW
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 
TAny * operator new (TUint aSize, TLeave)
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 
TAny * operator new (TUint aSize, TUint aExtraSize) __NO_THROW
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 
TAny * operator new (TUint aSize, TLeave, TUint aExtraSize)
 Allocates the object from the heap and then initialises its contents to binary zeroes.
 

Static Public Member Functions

static IMPORT_C CObjectConIx * NewL ()
 Creates a new container index.
 
- Static Public Member Functions inherited from CBase
static IMPORT_C void Delete (CBase *aPtr)
 Deletes the specified object.
 

Protected Types

enum  { ENotOwnerID }
 

Protected Member Functions

IMPORT_C CObjectConIx ()
 Default constructor.
 
IMPORT_C void CreateContainerL (CObjectCon *&anObject)
 Actually create the container.
 
- Protected Member Functions inherited from CBase
virtual IMPORT_C TInt Extension_ (TUint aExtensionId, TAny *&a0, TAny *a1)
 Extension function.
 

Detailed Description

A container for object containers.

This is referred to as a container index.

The class provides the mechanism through which object containers, CObjectCon types, are created.

See also
CObjectCon
CObject
API status
Published to all clients. Released API.

Definition at line 1300 of file e32base.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
API status
Internal component API.
Enumerator
ENotOwnerID 

Definition at line 1325 of file e32base.h.

Constructor & Destructor Documentation

◆ ~CObjectConIx()

IMPORT_C CObjectConIx::~CObjectConIx ( )

Destructor.

Frees all resources owned by the container index, prior to its destruction.

In particular, it destroys all of its contained object containers.

(generated from Symbian Developer Library)

◆ CObjectConIx()

IMPORT_C CObjectConIx::CObjectConIx ( )
protected

Default constructor.

(generated from Symbian Developer Library)

Member Function Documentation

◆ CreateContainerL()

IMPORT_C void CObjectConIx::CreateContainerL ( CObjectCon *&  anObject)
protected

Actually create the container.

(generated from Symbian Developer Library)

◆ CreateL()

IMPORT_C CObjectCon * CObjectConIx::CreateL ( )

Creates a new object container and adds it into this container index's collection.

In addition to creating the object container, the function assigns the next available unique ID to it.

(generated from Symbian Developer Library)

◆ Lookup()

IMPORT_C CObjectCon * CObjectConIx::Lookup ( TInt  aFindHandle) const

Gets a pointer to the object container with the unique ID from the specified find handle.

Parameters
aFindHandleThe find handle.

(generated from Symbian Developer Library)

◆ NewL()

static IMPORT_C CObjectConIx * CObjectConIx::NewL ( )
static

Creates a new container index.

(generated from Symbian Developer Library)

◆ Remove()

IMPORT_C void CObjectConIx::Remove ( CObjectCon *  aCon)

Removes the specified object container from this container index and deletes it.

Parameters
aConA pointer to the object container to be removed. If the pointer is NULL, the function just returns.

Panic condition: E32USER-CBASE 36 if the object container cannnot be found.

(generated from Symbian Developer Library)


The documentation for this class was generated from the following files: