#include <e32base.h>
class CArrayPtrSeg : public CArrayPtr |
Public Member Functions | |
---|---|
CArrayPtrSeg(TInt) |
Array of pointers to objects implemented using a segmented dynamic buffer.
The elements of the array are pointers to instances of the template class T and are contained within a CBufSeg.
This type of array has the full behaviour of segmented arrays but, in addition, the CArrayPtr<class T>::ResetAndDestroy() function offers a way of destroying all of the objects whose pointers form the elements of the array before resetting the array.
See also: CBufSeg CArrayPtr::ResetAndDestroy
CArrayPtrSeg | ( | TInt | aGranularity | ) | [inline, explicit] |
Constructs a segmented array of pointers with specified granularity.
Note that no memory is allocated to the array buffer by this constructor.
Parameter | Description |
---|---|
aGranularity | The granularity of the array. |