Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Array of same length elements, segmented buffer

This is a CArrayFixSeg<class T> object whose elements:

A segmented buffer is implemented as a doubly linked list of equally sized cells allocated from the heap and is always extended by allocating a new segment and inserting it into the appropriate place in the list. A segmented array buffer is implemented using a CBufSeg object.

The following diagram illustrates how elements are organised within the array buffer:

This kind of array is suitable for large arrays with a high turnover of elements.

This class is immediately derived from the abstract templated base class CArrayFix<class T> which is itself derived from the abstract non-templated base class CArrayFixBase.


See also

Dynamic Buffers Guide.