Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32base.h

Class CArrayFixSeg

class CArrayFixSeg : public CArrayFix< T >;

Description

Array of fixed length objects contained within a segmented buffer.

The elements of the array are instances of the template class T.

The segmented buffer is an instance of a CBufSeg.

The elements can be T or R type objects and must have an accessible default constructor.

Derivation

Members

Defined in CArrayFixSeg:
CArrayFixSeg()

See also:


Construction and destruction


CArrayFixSeg()

inline CArrayFixSeg(TInt aGranularity);

Description

Constructs a segmented array of fixed length objects with the specified granularity.

The length of all array elements is the length of the class passed as the template parameter. The length must be non-zero.

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

17, if the length of the class implied by the template parameter is zero.

E32USER-CBase

18, if aGranularity is not positive.