![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class CPtrC16Array : public CArrayFixFlat< TPtrC16 >, public MDesC16Array;
An array of 16 bit non-modifiable pointer descriptors, TPtrC16
, implemented using a flat buffer. "bafl.lib"
MDesC16Array
- Interface class for 16 bit descriptor arrays. It should be inherited by classes ...
CArrayFixFlat< TPtrC16 >
- No description.
CPtrC16Array
- An array of 16 bit non-modifiable pointer descriptors, TPtrC16, implemented usin...
Defined in CPtrC16Array
:
CPtrC16Array(TInt)
Constructs an array of 16 bit non-modifiable descriptors with the specified gran...CopyL(const MDesC16Array &)
Copies a descriptor array into this array, deleting any pre-existing elements.MdcaCount()const
Returns the number of elements in the array. The function implements the pure vi...MdcaPoint(TInt)const
Indexes into the descriptor array. The function implements the pure virtual func...operator=(const MDesC16Array &)
Copies a descriptor array into this array, deleting any pre-existing elements.~CPtrC16Array()
Frees all resources owned by the object, prior to its destruction. IMPORT_C CPtrC16Array(TInt aGranularity);
Constructs an array of 16 bit non-modifiable descriptors with the specified granularity. The length of all elements in the
array buffer is the length of a TPtrC16
object.
No memory is allocated to the array buffer by constructor.
|
IMPORT_C ~CPtrC16Array();
Frees all resources owned by the object, prior to its destruction.
IMPORT_C void CopyL(const MDesC16Array &aArray);
Copies a descriptor array into this array, deleting any pre-existing elements.
The function constructs TPtrC16
elements for each descriptor element in the specified descriptor array.
|
inline void operator=(const MDesC16Array &aArray);
Copies a descriptor array into this array, deleting any pre-existing elements.
The function constructs TPtrC16
elements for each descriptor element in the specified descriptor array.This operator behaves in the same ways as CPtrC16Array::CopyL(const MDesC16Array &)
.
|
IMPORT_C virtual TInt MdcaCount() const;
Returns the number of elements in the array. The function implements the pure virtual function MDesC16Array::MdcaCount()const
.
|
IMPORT_C virtual TPtrC16 MdcaPoint(TInt aIndex) const;
Indexes into the descriptor array. The function implements the pure virtual function MDesC16Array::MdcaPoint(TInt)const
.
|
|