Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: e32base.h

Class CArrayVarSeg

class CArrayVarSeg : public CArrayVar< T >;

Description

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.

Derivation

Members

Defined in CArrayVarSeg:
CArrayVarSeg()

See also:


Construction and destruction


CArrayVarSeg()

inline CArrayVarSeg(TInt aGranularity);

Description

Constructs a variable segmented array with specified granularity.

Note that no memory is allocated to the array buffer by this constructor.

Parameters

TInt aGranularity

The granularity of the array.

Panic codes

E32USER-CBase

19, if aGranularity is not positive.