Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: badesca.h
Link against: bafl.lib

Class CDesC16ArrayFlat

CDesC16ArrayFlat

Support

Supported from 5.0

Description

Array of 16 bit descriptors implemented using a flat buffer.

Derivation

CArrayFixBaseBase class for arrays of fixed length objects
CBaseBase class for all classes to be instantiated on the heap
CDesC16ArrayAn implementation base class for 16 bit descriptor arrays
CDesC16ArrayFlatArray of 16 bit descriptors implemented using a flat buffer
MDesC16ArrayInterface class for 16 bit descriptor arrays

Defined in CDesC16ArrayFlat:
CDesCArrayFlat(), ~CDesC16ArrayFlat()

Inherited from CArrayFixBase:
Compress(), Count(), Length()

Inherited from CBase:
operator new()

Inherited from CDesC16Array:
AppendL(), Delete(), Find(), FindIsq(), InsertIsqAllowDuplicatesL(), InsertIsqL(), InsertL(), MdcaCount(), MdcaPoint(), Reset(), Sort(), operator[]


Construction and destruction


CDesCArrayFlat()

CDesC16ArrayFlat(TInt aGranularity);

Description

Constructs a flat descriptor array with the specified granularity.

No memory is allocated to the array buffer by this constructor.

Parameters

TInt aGranularity

The granularity of the array. This value must be positive otherwise the constructor raises an E32USER-CBase 18 panic.


~CDesC16ArrayFlat()

~CDesC16ArrayFlat();

Description

Frees all resources owned by the object, prior to its destruction.