CArrayFixSeg Class Reference

class CArrayFixSeg : public CArrayFix

Array of fixed length objects contained within a segmented buffer.

The elements of the array are instances of the template class T.

The segmented buffer is an instance of a CBufSeg.

The elements can be T or R type objects and must have an accessible default constructor.

CBufSeg

Inherits from

Public Member Functions
CArrayFixSeg(TInt)
Inherited Functions
CArrayFix::AppendL(const T &)
CArrayFix::AppendL(const T &,TInt)
CArrayFix::AppendL(const T *,TInt)
CArrayFix::Array()const
CArrayFix::At(TInt)
CArrayFix::At(TInt)const
CArrayFix::Back(TInt)
CArrayFix::Back(TInt)const
CArrayFix::CArrayFix(TBufRep,TInt)
CArrayFix::End(TInt)
CArrayFix::End(TInt)const
CArrayFix::ExpandL(TInt)
CArrayFix::ExtendL()
CArrayFix::Find(const T &,TKeyArrayFix &,TInt &)const
CArrayFix::FindIsq(const T &,TKeyArrayFix &,TInt &)const
CArrayFix::InsertIsqAllowDuplicatesL(const T &,TKeyArrayFix &)
CArrayFix::InsertIsqL(const T &,TKeyArrayFix &)
CArrayFix::InsertL(TInt,const T &)
CArrayFix::InsertL(TInt,const T &,TInt)
CArrayFix::InsertL(TInt,const T *,TInt)
CArrayFix::ResizeL(TInt)
CArrayFix::ResizeL(TInt,const T &)
CArrayFix::operator[](TInt)
CArrayFix::operator[](TInt)const
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::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)

CArrayFixSeg(TIntaGranularity)[inline, explicit]

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

The length of all array elements is the length of the class passed as the template parameter. The length must be non-zero.

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

panic
E32USER-CBase 17, if the length of the class implied by the template parameter is zero.
panic
E32USER-CBase 18, if aGranularity is not positive.

Parameters

TInt aGranularityThe granularity of the array.