class CArrayPtrSeg : public CArrayPtr |
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.
Public Member Functions | |
---|---|
CArrayPtrSeg(TInt) |
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.
panic
E32USER-CBase 18, if aGranularity is not positive.
TInt aGranularity | The granularity of the array. |