CArrayFixSeg< TAny > Class Template Reference

template <>
class CArrayFixSeg< TAny > : public CArrayFix< TAny >

An array of fixed length untyped objects using a segmented dynamic buffer.

The array elements are contained within a CBufSeg.

The class is useful for constructing an array of fixed length buffers, where the length is decided at run time.

This class is also useful as a data member of a base class in a thin template class/base class pair where the type of the array element is not known until the owning thin template class is instantiated.

CBufSeg

Inherits from

Public Member Functions
CArrayFixSeg(TInt, TInt)
Inherited Functions
CArrayFix< TAny >::AppendL(const TAny *)
CArrayFix< TAny >::AppendL(const TAny *,TInt)
CArrayFix< TAny >::At(TInt)
CArrayFix< TAny >::At(TInt)const
CArrayFix< TAny >::Back(TInt)
CArrayFix< TAny >::Back(TInt)const
CArrayFix< TAny >::CArrayFix(TBufRep,TInt,TInt)
CArrayFix< TAny >::End(TInt)
CArrayFix< TAny >::End(TInt)const
CArrayFix< TAny >::ExtendL()
CArrayFixBase::AtR(const CBase *,TInt)
CArrayFixBase::CArrayFixBase(TBufRep,TInt,TInt)
CArrayFixBase::Compress()
CArrayFixBase::Count()const
CArrayFixBase::CountR(const CBase *)
CArrayFixBase::Delete(TInt)
CArrayFixBase::Delete(TInt,TInt)
CArrayFixBase::ExpandL(TInt)
CArrayFixBase::Find(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::FindIsq(const TAny *,TKeyArrayFix &,TInt &)const
CArrayFixBase::InsertIsqAllowDuplicatesL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertIsqL(const TAny *,TKeyArrayFix &)
CArrayFixBase::InsertL(TInt,const TAny *)
CArrayFixBase::InsertL(TInt,const TAny *,TInt)
CArrayFixBase::InsertRepL(TInt,const TAny *,TInt)
CArrayFixBase::Length()const
CArrayFixBase::Reset()
CArrayFixBase::ResizeL(TInt,const TAny *)
CArrayFixBase::SetKey(TKeyArrayFix &)const
CArrayFixBase::SetReserveFlatL(TInt)
CArrayFixBase::Sort(TKeyArrayFix &)
CArrayFixBase::~CArrayFixBase()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()

Constructor & Destructor Documentation

CArrayFixSeg(TInt, TInt)

CArrayFixSeg(TIntaRecordLength,
TIntaGranularity
)[inline]

Constructs a segmented array of fixed length objects with the specified granularity to contain elements of the specified length.

Note that no memory is allocated to the array buffer by this constructor.

panic
E32USER-CBase 17, if aRecordLength is not positive.
panic
E32USER-CBase 18, if aGranularity is not positive.

Parameters

TInt aRecordLengthThe length of the elements of this array.
TInt aGranularityThe granularity of the array.