|
Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
|
Container Base Class. More...
#include <e32base.h>
Public Member Functions | |
| 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 void | Delete (CBase *aPtr) |
| Deletes the specified object. | |
Protected Member Functions | |
| virtual IMPORT_C TInt | Extension_ (TUint aExtensionId, TAny *&a0, TAny *a1) |
| Extension function. | |
Container Base Class.
Base class for all classes to be instantiated on the heap.
By convention, all classes derived from CBase have a name beginning with the letter 'C'.
The class has two important features:
Note that using C++ arrays of CBase-derived types is not recommended, as objects in the array will not be zero-initialised (as there is no operator new[] member). You should use an array class such as RPointerArray instead for arrays of CBase-derived types.
|
virtual |
Virtual destructor.
Enables any derived object to be deleted through a CBase* pointer.
(generated from Symbian Developer Library)
|
static |
Deletes the specified object.
| aPtr | Pointer to the CBase derived object to be deleted. |
(generated from Symbian Developer Library)
|
protectedvirtual |
Extension function.
(generated from Symbian Developer Library)
Reimplemented in CObject, CActive, CSession2, CServer2, CPolicyServer, and CActiveScheduler.
|
inline |
Allocates the object from the heap and then initialises its contents to binary zeroes.
| aSize | The size of the derived class. This parameter is specified implicitly by C++ in all circumstances in which a derived class is allocated. |
(generated from Symbian Developer Library)
|
inline |
Initialises the object to binary zeroes.
| aSize | The size of the derived class. This parameter is specified implicitly by C++ in all circumstances in which a derived class is allocated. |
| aBase | Indicates a base address which is returned as the object's address. |
(generated from Symbian Developer Library)
|
inline |
Allocates the object from the heap and then initialises its contents to binary zeroes.
| aSize | The size of the derived class. This parameter is specified implicitly by C++ in all circumstances in which a derived class is allocated. |
(generated from Symbian Developer Library)
|
inline |
Allocates the object from the heap and then initialises its contents to binary zeroes.
Use of this overload is rare.
| aSize | The size of the derived class. This parameter is specified implicitly by C++ in all circumstances in which a derived class is allocated. |
| aExtraSize | Indicates additional size beyond the end of the base class. |
(generated from Symbian Developer Library)
|
inline |
Allocates the object from the heap and then initialises its contents to binary zeroes.
Use of this overload is rare.
| aSize | The size of the derived class. This parameter is specified implicitly by C++ in all circumstances in which a derived class is allocated. |
| aExtraSize | Indicates additional size beyond the end of the base class. |
(generated from Symbian Developer Library)