class CArrayVarFlat : public CArrayVar |
Array of variable length objects implemented using a flat 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 the flat dynamic buffer, a CBufFlat.
The elements can be T or R type objects and must have an accessible default constructor.
Public Member Functions | |
---|---|
CArrayVarFlat(TInt) |
CArrayVarFlat | ( | TInt | aGranularity | ) | [inline, explicit] |
Constructs a variable flat 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. |