|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
A container for object containers. More...
#include <e32base.h>
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. | |
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.
|
protected |
| 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)
|
protected |
Default constructor.
(generated from Symbian Developer Library)
|
protected |
Actually create the container.
(generated from Symbian Developer Library)
| 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)
| IMPORT_C CObjectCon * CObjectConIx::Lookup | ( | TInt | aFindHandle | ) | const |
Gets a pointer to the object container with the unique ID from the specified find handle.
| aFindHandle | The find handle. |
(generated from Symbian Developer Library)
|
static |
Creates a new container index.
(generated from Symbian Developer Library)
| IMPORT_C void CObjectConIx::Remove | ( | CObjectCon * | aCon | ) |
Removes the specified object container from this container index and deletes it.
| aCon | A 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)