class CArrayVarSeg : public CArrayVar |
Array of variable length objects implemented using a segmented dynamic buffer.
The elements of the array are instances of the template class T and are contained within their own heap cells. Pointers to the elements are maintained within a segmented dynamic buffer, a CBufSeg.
The elements can be T or R type objects and must have an accessible default constructor.
Public Member Functions | |
---|---|
CArrayVarSeg(TInt) |
CArrayVarSeg | ( | TInt | aGranularity | ) | [inline, explicit] |
Constructs a variable segmented array with specified granularity.
Note that no memory is allocated to the array buffer by this constructor.
panic
E32USER-CBase 19, if aGranularity is not positive.
TInt aGranularity | The granularity of the array. |