|
||
class CObjectConIx : public CBase;
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.
CBase
-
Base class for all classes to be instantiated on the heap.
CObjectConIx
- A container for object containers
Defined in CObjectConIx
:
CObjectConIx()
Default constructor. CreateL()
Creates a new object container and adds it into this container index's collectio...Lookup(TInt)const
Gets a pointer to the object container with the unique ID from the specified fin...NewL()
Creates a new container index.Remove(CObjectCon *)
Removes the specified object container from this container index and deletes it.~CObjectConIx()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...IMPORT_C static CObjectConIx* NewL();
Creates a new container index.
|
IMPORT_C ~CObjectConIx();
Destructor.
Frees all resources owned by the container index, prior to its destruction.
In particular, it destroys all of its contained object containers.
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.
In addition to creating the object container, the function assigns the next available unique ID to it.
|
IMPORT_C void Remove(CObjectCon *aCon);
Removes the specified object container from this container index and deletes it.
|
|