CArrayVarFlat Class Reference

class CArrayVarFlat : public CArrayVar

Array of variable length objects implemented using a flat 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 the flat dynamic buffer, a CBufFlat.

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

CBufFlat

Inherits from

Public Member Functions
CArrayVarFlat(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

CArrayVarFlat(TInt)

CArrayVarFlat(TIntaGranularity)[inline, explicit]

Constructs a variable flat 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.