Meta::TMetaVarLen16 Class Reference

class Meta::TMetaVarLen16 : public Meta::TMetaVarLen

Implementation of MMetaType for anything that provides Length(), SetLength(), MaxLength(), Copy() and Left() functions with element size 2 bytes Like for example TDes16, TBuf16, TPtr16 (ELEMENT is short).

since v9.0

Constructor & Destructor Documentation

TMetaVarLen16(const TAny *)

TMetaVarLen16(const TAny *aData)[protected, inline]

Constructor

Parameters

const TAny * aData

Member Functions Documentation

AppendToBuf(TDes8 &)

voidAppendToBuf(TDes8 &aBuffer)const [protected, virtual]

Parameters

TDes8 & aBuffer

CopyBuf(TPtrC8 &, TInt)

voidCopyBuf(TPtrC8 &aBuffer,
TIntaLen
)[protected, virtual]

Parameters

TPtrC8 & aBuffer
TInt aLen

Length()

TInt Length()const [virtual]

Returns the length of the data member

NewL(const TAny *, const TAny *)

MMetaType *NewL(const TAny *aMem,
const TAny *aData
)[static, inline]

Instantiates a meta type of a particular type. Used for attribure registration (in the data v-table).

Parameters

const TAny * aMem
const TAny * aData