Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32base.h

Class CArrayVarFlat

class CArrayVarFlat : public CArrayVar< T >;

Description

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.

Derivation

Members

Defined in CArrayVarFlat:
CArrayVarFlat()

See also:


Construction and destruction


CArrayVarFlat()

inline CArrayVarFlat(TInt aGranularity);

Description

Constructs a variable flat 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.