CArrayVarSeg Class Reference

class CArrayVarSeg : public CArrayVar

Array of variable length objects implemented using a segmented dynamic buffer.

The elements of the array are instances of the template class T and are contained within their own heap cells. Pointers to the elements are maintained within a segmented dynamic buffer, a CBufSeg.

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

CBufSeg

Inherits from

Public Member Functions
CArrayVarSeg(TInt)
Inherited Functions
CArrayVar::AppendL(const T &,TInt)
CArrayVar::Array()const
CArrayVar::At(TInt)
CArrayVar::At(TInt)const
CArrayVar::CArrayVar(TBufRep,TInt)
CArrayVar::ExpandL(TInt,TInt)
CArrayVar::ExtendL(TInt)
CArrayVar::Find(const T &,TKeyArrayVar &,TInt &)const
CArrayVar::FindIsq(const T &,TKeyArrayVar &,TInt &)const
CArrayVar::InsertIsqAllowDuplicatesL(const T &,TInt,TKeyArrayVar &)
CArrayVar::InsertIsqL(const T &,TInt,TKeyArrayVar &)
CArrayVar::InsertL(TInt,const T &,TInt)
CArrayVar::operator[](TInt)
CArrayVar::operator[](TInt)const
CArrayVarBase::AtR(const CBase *,TInt)
CArrayVarBase::CArrayVarBase(TBufRep,TInt)
CArrayVarBase::Compress()
CArrayVarBase::Count()const
CArrayVarBase::CountR(const CBase *)
CArrayVarBase::Delete(TInt)
CArrayVarBase::Delete(TInt,TInt)
CArrayVarBase::Find(const TAny *,TKeyArrayVar &,TInt &)const
CArrayVarBase::FindIsq(const TAny *,TKeyArrayVar &,TInt &)const
CArrayVarBase::InsertIsqAllowDuplicatesL(const TAny *,TInt,TKeyArrayVar &)
CArrayVarBase::InsertIsqL(const TAny *,TInt,TKeyArrayVar &)
CArrayVarBase::InsertL(TInt,const TAny *,TInt)
CArrayVarBase::Length(TInt)const
CArrayVarBase::Reset()
CArrayVarBase::SetKey(TKeyArrayVar &)const
CArrayVarBase::Sort(TKeyArrayVar &)
CArrayVarBase::~CArrayVarBase()
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

CArrayVarSeg(TInt)

CArrayVarSeg(TIntaGranularity)[inline, explicit]

Constructs a variable segmented array with specified granularity.

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

panic

E32USER-CBase 19, if aGranularity is not positive.

Parameters

TInt aGranularityThe granularity of the array.