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.
TInt aGranularity | The granularity of the array. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.