Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32base.h>

Class CArrayFixSeg< TAny >

class CArrayFixSeg< TAny > : public CArrayFix< TAny >;

Description

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.

Derivation

Members

Defined in CArrayFixSeg< TAny >:

Inherited from CArrayFix< TAny >:

Inherited from CArrayFixBase:

Inherited from CBase:


Member functions


CArrayFixSeg(TInt,TInt)

inline CArrayFixSeg(TInt aRecordLength, TInt aGranularity);

Description

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

TInt aRecordLength

The length of the elements of this array.

TInt aGranularity

The granularity of the array.

Return value

Panic codes

E32USER-CBase

17, if aRecordLength is not positive.

E32USER-CBase

18, if aGranularity is not positive.