Meta::TMetaNS Class Reference

class Meta::TMetaNS : public Meta::MMetaType

Implementation of MMetaType for simple types (e.g. symbian T-types). This version of TMeta avoids the unwanted exports of the typeinfo and vtable in ARMv5 builds Note: A defect will be raised to fix TMeta , and remove this class.

since v9.5

Inherits from

Public Member Functions
void Copy (const TAny *)
TInt Length ()
TInt Load ( TPtrC8 &)
MMetaType * NewL (const TAny *, const TAny *)
TInt Store ( TDes8 &)
Protected Member Functions
TMetaNS (const TAny *)
Private Attributes
const TYPE * iData

Constructor & Destructor Documentation

TMetaNS(const TAny *)

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

Constructor

Parameters

const TAny * aData

Member Functions Documentation

Copy(const TAny *)

void Copy ( const TAny * aData ) [virtual]

Copies content of a meta object (in aData) into another meta object (in iData). This is a MMetaType implementation for simple (T) types so it just copies the memory.

Parameters

const TAny * aData

Length()

TInt Length ( ) const [virtual]

Returns the length of the handled meta object.

Load(TPtrC8 &)

TInt Load ( TPtrC8 & aBuffer ) [virtual]

Loads content of a meta object (in iData) from a descriptor

Parameters

TPtrC8 & aBuffer

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

Store(TDes8 &)

TInt Store ( TDes8 & aBuffer ) const [virtual]

Stores content of a meta object (in iData) to a descriptor

Parameters

TDes8 & aBuffer

Member Data Documentation

const TYPE * iData

const TYPE * iData [private]