#include <e32base.h>
class CArrayVarSeg : public CArrayVar |
Public Member Functions | |
---|---|
CArrayVarSeg(TInt) |
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.
See also: CBufSeg
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.
Parameters | |
---|---|
aGranularity | The granularity of the array. |
Panic Codes | |
---|---|
E32USER-CBase | 19, if aGranularity is not positive. |