Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: e32base.h

Class CArrayPtrSeg

class CArrayPtrSeg : public CArrayPtr< T >;

Description

Array of pointers to objects implemented using a segmented dynamic buffer.

The elements of the array are pointers to instances of the template class T and are contained within a CBufSeg.

This type of array has the full behaviour of segmented arrays but, in addition, the CArrayPtr<class T>::ResetAndDestroy() function offers a way of destroying all of the objects whose pointers form the elements of the array before resetting the array.

Derivation

Members

Defined in CArrayPtrSeg:
CArrayPtrSeg()

See also:


Construction and destruction


CArrayPtrSeg()

inline CArrayPtrSeg(TInt aGranularity);

Description

Constructs a segmented array of pointers 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

18, if aGranularity is not positive.