Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

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

Class CommsDat::CCDRecordBase

class CCDRecordBase : public CommsDat::CMDBRecordBase;

Description

Base class for wrapper containers for supported CommsDat recordtypes Alternatively the class CommsDat::CMDBGenericRecord can be used to express any record.

Derivation

Members

Defined in CommsDat::CCDRecordBase:

Inherited from CommsDat::CMDBRecordBase:


Construction and destruction


CCDRecordBase(TMDBElementId)

IMPORT_C CCDRecordBase(TMDBElementId aElementId);

Description

Import CommsDat::CCDRecordBase constructor from another DLL.

Parameters

CommsDat::TMDBElementId aElementId

[Top]


Member functions


RecordFactoryL(TMDBElementId)

IMPORT_C static CMDBRecordBase* RecordFactoryL(TMDBElementId);

Description

Import function RecordFactoryL from another DLL.

Parameters

CommsDat::TMDBElementId

Return value

CommsDat::CMDBRecordBase *


CreateCopyRecordL(CMDBRecordBase &)

IMPORT_C static CMDBRecordBase* CreateCopyRecordL(CMDBRecordBase &aCopyFromRecord);

Description

Import function CreateCopyRecordL from another DLL.

Parameters

CommsDat::CMDBRecordBase &aCopyFromRecord

Return value

CommsDat::CMDBRecordBase *


GetVDataTable()const

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

Description

Return value

Meta::SVDataTableEntry const *


GetAttribPtr(const TInt)const

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

Description

Parameters

const TInt aOffset

Return value

TUint8 *


GetVDataTableStatic()

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

Description

Return value

Meta::SVDataTableEntry const *

[Top]


Member data


iVDataTable

protected: const Meta::SVDataTableEntry iVDataTable[]={ { 600 , reinterpret_cast<Meta::TMetaTypeNewL>( 600 ) },
    { (((TInt)&((( CCDRecordBase *)0x1000)-> iRecordTag ))-0x1000), Meta:: TMDBNumVisitorFactoryL },
    { (((TInt)&((( CCDRecordBase *)0x1000)-> iRecordName ))-0x1000), Meta:: TMDBTextVisitorFactoryL },
{ 0, 0 }};

Description


iRecordTag

CMDBField< TInt > iRecordTag;

Description

User-defined numeric tag for this record. Should be unique in this table.


iRecordName

CMDBField< TDesC > iRecordName;

Description

User-defined name for this record. Should be unique in this table.