|
|
|
class CCDIAPRecord : public CommsDat::CCDRecordBase;
CommsDat::CMDBNumFieldBase - No description.
CommsDat::CMDBRecordBase - Base class for all MetaDatabase records
CommsDat::CCDRecordBase - Base class for wrapper containers for supported CommsDat recordtypes Alternative...
CommsDat::CCDIAPRecord - (No abstract)
Defined in CommsDat::CCDIAPRecord:
GetAttribPtr(const TInt)constGetRecordInfo()Gets the following information:GetVDataTable()constTypeId()iAppSidiBearerThe record id from the Bearer table specifying the bearer to be used with the IA...iBearerTypeThe name of the bearer to be used for the IAP. iLocationThe record id specifying a location for the IAP. This field links the Location t...iNetworkThe record id of the network to be used with the IAP. The IAP will connect to th...iNetworkWeightingWhen there are multiple IAPs that wish to connect to the same network, this subs...iServiceEvery IAP provides a specific service. The field IAPService provides a link betw...iServiceTypeThe name of a servicing table. E.g. DialOutISP. iVDataTableInherited from CommsDat::CCDRecordBase:
CCDRecordBase(TMDBElementId)Import CommsDat::CCDRecordBase constructor from another DLL. CreateCopyRecordL(CMDBRecordBase &)Import function CreateCopyRecordL from another DLL. GetVDataTableStatic()RecordFactoryL(TMDBElementId)Import function RecordFactoryL from another DLL. iRecordNameUser-defined name for this record. Should be unique in this table. iRecordTagUser-defined numeric tag for this record. Should be unique in this table. Inherited from CommsDat::CMDBRecordBase:
virtual inline const SRecordTypeInfo* GetRecordInfo();
Gets the following information:
iTypeId
iValType
iTypeAttr
iTypeName
|
virtual Meta::SVDataTableEntry const* GetVDataTable() const;
|
virtual TUint8* GetAttribPtr(const TInt aOffset) const;
|
|
const Meta::SVDataTableEntry iVDataTable[]={ { KCDTIdIAPRecord , reinterpret_cast<Meta::TMetaTypeNewL>( KCDTIdIAPRecord
) },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iServiceType ))-0x1000), Meta:: TMDBTextVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iService ))-0x1000), Meta:: TMDBLinkNumVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iBearerType ))-0x1000), Meta:: TMDBTextVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iBearer ))-0x1000), Meta:: TMDBLinkNumVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iNetwork ))-0x1000), Meta:: TMDBLinkNumVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iNetworkWeighting ))-0x1000), Meta:: TMDBNumVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iLocation ))-0x1000), Meta:: TMDBLinkNumVisitorFactoryL },
{ (((TInt)&((( CCDIAPRecord *)0x1000)-> iAppSid ))-0x1000), Meta:: TMDBNumVisitorFactoryL },
{ (TInt)((TAny*)( CCDRecordBase ::GetVDataTableStatic)), 0 }};
CMDBRecordLink< CCDServiceRecordBase > iService;
Every IAP provides a specific service. The field IAPService provides a link between the IAP and the servicing table, It tells us which record to use from the servicing table. For example, an IAP could provide the DialOutISP service. Say IAPService = 1, this would mean the settings of first record in the DialOutISP table is provided by this particular IAP.
CMDBRecordLink< CCDBearerRecordBase > iBearer;
The record id from the Bearer table specifying the bearer to be used with the IAP.
CMDBRecordLink< CCDNetworkRecord > iNetwork;
The record id of the network to be used with the IAP. The IAP will connect to this network.
CMDBField< TUint32 > iNetworkWeighting;
When there are multiple IAPs that wish to connect to the same network, this subset of IAPs is given a weighting. This determines the order of connection to that particular network. The IAP with the highest weighting will receive the first connection attempt and if that fails, the next highest IAP is attempted and so forth. This is an alternative way to make a connection if the ConnectionPreferences ranking system is not preferred.
CMDBRecordLink< CCDLocationRecord > iLocation;
The record id specifying a location for the IAP. This field links the Location table and the IAP table together. The location determines factors such as areacode prefix dialling etc.
CMDBField< TUint32 > iAppSid;