![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class CArrayFixFlat< TInt > : public CArrayFix< TInt >;
Template specialisation base class for arrays of TInt types implemented in a flat dynamic buffer.
CArrayFix< TInt >
- No description.
CArrayFixFlat< TInt >
- ...
Defined in CArrayFixFlat< TInt >
:
CArrayFixFlat(TInt)
Constructs the array, with the specified granularity, to contain elements of TIn...SetReserveL(TInt)
Reserves space in the array buffer.~CArrayFixFlat()
Destructor. IMPORT_C CArrayFixFlat(TInt aGranularity);
Constructs the array, with the specified granularity, to contain elements of TInt type.
Note that no memory is allocated to the array buffer by this C++ constructor.
|
|
|
inline void SetReserveL(TInt aCount);
Reserves space in the array buffer.
If necessary, the array buffer is allocated or re-allocated so that it can accommodate the specified number of TInt elements.
After a successful call to this function, elements can be added to the array and the process is guaranteed not to fail for lack of memory - provided the total number of elements does not exceed the specified number.
This function does not increase the number of elements in the array; i.e. the member function CArrayFixBase::Count()const
returns the same value both before and after a call to this function.
|
|