Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MetaDatabase.h>
Link against: commsdat.lib

Class CommsDat::CMDBGenericRecord

class CMDBGenericRecord : public CommsDat::CMDBRecordBase;

Description

Container for data and type information in a MetaDatabase record For use to contain user-defined records as an alternative to declaring a specific record class of type CommsDat::CCDRecordBase

Derivation

Members

Defined in CommsDat::CMDBGenericRecord:

Inherited from CommsDat::CMDBRecordBase:


Construction and destruction


CMDBGenericRecord(TMDBElementId)

inline CMDBGenericRecord(TMDBElementId aElementId);

Description

Parameters

CommsDat::TMDBElementId aElementId


~CMDBGenericRecord()

IMPORT_C ~CMDBGenericRecord();

Description

[Top]


Member functions


GetVDataTable()const

IMPORT_C virtual Meta::SVDataTableEntry const* GetVDataTable() const;

Description

Return value

Meta::SVDataTableEntry const *


GetAttribPtr(const TInt)const

IMPORT_C virtual TUint8* GetAttribPtr(const TInt aOffset) const;

Description

Parameters

const TInt aOffset

Return value

TUint8 *


GetVDataTableStatic()

IMPORT_C static Meta::SVDataTableEntry const* GetVDataTableStatic();

Description

Return value

Meta::SVDataTableEntry const *


GetFieldByNameL(const TPtrC &,TInt &)

IMPORT_C virtual CMDBElement* GetFieldByNameL(const TPtrC &aFieldName, TInt &aValType);

Description

Parameters

const TPtrC16 &aFieldName

TInt &aValType

Return value

CommsDat::CMDBElement *


GetFieldByIdL(TMDBElementId)

IMPORT_C virtual CMDBElement* GetFieldByIdL(TMDBElementId aId);

Description

Parameters

CommsDat::TMDBElementId aId

Return value

CommsDat::CMDBElement *


InitializeL(const TDesC &,const SGenericRecordTypeInfo *)

IMPORT_C void InitializeL(const TDesC &aTableName, const SGenericRecordTypeInfo *aNewTableInfo);

Description

Parameters

const TDesC16 &aTableName

const CommsDat::SGenericRecordTypeInfoTag *aNewTableInfo

[Top]


Member data


iVDataTable

const Meta::SVDataTableEntry iVDataTable[]={ { 585 , reinterpret_cast<Meta::TMetaTypeNewL>( 585 ) },
    { (((TInt)&((( CMDBGenericRecord *)0x1000)-> iFields ))-0x1000), Meta:: TMDBGenericRecordVisitorFactoryL },
{ 0, 0 }};

Description