#include <e32base.h>
| template <> |
| class CArrayFixSeg< TAny > : public CArrayFix< TAny > |
| Public Member Functions | |
|---|---|
| CArrayFixSeg(TInt, TInt) | |
An array of fixed length untyped objects using a segmented dynamic buffer.
The array elements are contained within a CBufSeg.
The class is useful for constructing an array of fixed length buffers, where the length is decided at run time.
This class is also useful as a data member of a base class in a thin template class/base class pair where the type of the array element is not known until the owning thin template class is instantiated.
See also: CBufSeg
Constructs a segmented array of fixed length objects with the specified granularity to contain elements of the specified length.
Note that no memory is allocated to the array buffer by this constructor.
| Parameters | |
|---|---|
| aRecordLength | The length of the elements of this array. |
| aGranularity | The granularity of the array. |
| Panic Codes | |
|---|---|
| E32USER-CBase | 17, if aRecordLength is not positive. |
| E32USER-CBase | 18, if aGranularity is not positive. |