template <> |
class CArrayFixFlat< TUid > : public CArrayFix< TUid > |
Public Member Functions | |
---|---|
CArrayFixFlat(TInt) | |
~CArrayFixFlat() | |
void | SetReserveL(TInt) |
IMPORT_C | CArrayFixFlat | ( | TInt | aGranularity | ) | [explicit] |
Constructs the array, with the specified granularity, to contain elements of TUid type.
Note that no memory is allocated to the array buffer by this C++ constructor.
TInt aGranularity | The granularity of the array. |
void | SetReserveL | ( | TInt | aCount | ) | [inline] |
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 TUid 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() returns the same value both before and after a call to this function.
TInt aCount | The total number of elements for which space is to be reserved. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.