CMTPServiceConfig Class Reference

class CMTPServiceConfig : public CBase

Inherits from

Nested Classes and Structures

Public Member Functions
~CMTPServiceConfig()
TBool IsSupportedService(const TMTPTypeGuid &)
voidLoadServiceDataL(const TMTPTypeGuid &)
CMTPServiceConfig *NewL(RFs &)
CMTPServiceInfo *ServiceInfo(const TMTPTypeGuid &)
CMTPServiceInfo *ServiceInfo(const TUint)
TInt ServiceTypeOfSupportedService(const TMTPTypeGuid &)
TInt SupportedServiceOrderFromAscending(const TSupportedService &, const TSupportedService &)
TInt SupportedServiceOrderFromKeyAscending(const TMTPTypeGuid *, const TSupportedService &)
Private Member Functions
CMTPServiceConfig(RFs &)
voidConstructL(const TDesC &)
voidInitializeL(TResourceReader &)
TMTPTypeGuid ReadGUID(TResourceReader &)
TUint ServiceResourceIDL(const TMTPTypeGuid &)
voidStartReadServiceDataBlockL(RResourceFile &, const TUint, CMTPServiceInfo &)
voidStartReadServiceEventsL(RResourceFile &, const TUint, CMTPServiceInfo &)
voidStartReadServiceFormatsL(RResourceFile &, const TUint, CMTPServiceInfo &)
voidStartReadServiceMethodsL(RResourceFile &, const TUint, CMTPServiceInfo &)
voidStartReadServicePropertiesL(RResourceFile &, const TUint, const TUint, CMTPServiceInfo &)
voidStartReadServicePropertyNamespacesL(RResourceFile &, const TUint, RArray< TMTPTypeGuid > &)
voidStartReadUseServicesL(RResourceFile &, const TUint, CMTPServiceInfo &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
__FLOG_DECLARATION_MEMBER_MUTABLE
RFs &iRFs
RPointerArray< CMTPServiceInfo >iServiceInfos
RArray< TSupportedService >iSupportedServices

Constructor & Destructor Documentation

CMTPServiceConfig(RFs &)

CMTPServiceConfig(RFs &aRFs)[private]

Parameters

RFs & aRFs

~CMTPServiceConfig()

~CMTPServiceConfig()

Destructor

Member Functions Documentation

ConstructL(const TDesC &)

voidConstructL(const TDesC &aResourceFilename)[private]

Parameters

const TDesC & aResourceFilename

InitializeL(TResourceReader &)

voidInitializeL(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

IsSupportedService(const TMTPTypeGuid &)

TBool IsSupportedService(const TMTPTypeGuid &aServiceGUID)const

Parameters

const TMTPTypeGuid & aServiceGUID

LoadServiceDataL(const TMTPTypeGuid &)

voidLoadServiceDataL(const TMTPTypeGuid &aServiceGUID)

Parameters

const TMTPTypeGuid & aServiceGUID

NewL(RFs &)

CMTPServiceConfig *NewL(RFs &aRFs)[static]

Parameters

RFs & aRFs

ReadGUID(TResourceReader &)

TMTPTypeGuid ReadGUID(TResourceReader &aReader)[private]

Parameters

TResourceReader & aReader

ServiceInfo(const TMTPTypeGuid &)

CMTPServiceInfo *ServiceInfo(const TMTPTypeGuid &aServiceGUID)const

Parameters

const TMTPTypeGuid & aServiceGUID

ServiceInfo(const TUint)

CMTPServiceInfo *ServiceInfo(const TUintaServiceID)const

Parameters

const TUint aServiceID

ServiceResourceIDL(const TMTPTypeGuid &)

TUint ServiceResourceIDL(const TMTPTypeGuid &aServiceGUID)const [private]

Parameters

const TMTPTypeGuid & aServiceGUID

ServiceTypeOfSupportedService(const TMTPTypeGuid &)

TInt ServiceTypeOfSupportedService(const TMTPTypeGuid &aServiceGUID)const

Parameters

const TMTPTypeGuid & aServiceGUID

StartReadServiceDataBlockL(RResourceFile &, const TUint, CMTPServiceInfo &)

voidStartReadServiceDataBlockL(RResourceFile &aResFile,
const TUintaResID,
CMTPServiceInfo &aServiceInfo
)[private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServiceEventsL(RResourceFile &, const TUint, CMTPServiceInfo &)

voidStartReadServiceEventsL(RResourceFile &aResFile,
const TUintaResID,
CMTPServiceInfo &aServiceInfo
)[private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServiceFormatsL(RResourceFile &, const TUint, CMTPServiceInfo &)

voidStartReadServiceFormatsL(RResourceFile &aResFile,
const TUintaResID,
CMTPServiceInfo &aServiceInfo
)[private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServiceMethodsL(RResourceFile &, const TUint, CMTPServiceInfo &)

voidStartReadServiceMethodsL(RResourceFile &aResFile,
const TUintaResID,
CMTPServiceInfo &aServiceInfo
)[private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServicePropertiesL(RResourceFile &, const TUint, const TUint, CMTPServiceInfo &)

voidStartReadServicePropertiesL(RResourceFile &aResFile,
const TUintaNamespaceResID,
const TUintaPropertiesResID,
CMTPServiceInfo &aServiceInfo
)[private]

Parameters

RResourceFile & aResFile
const TUint aNamespaceResID
const TUint aPropertiesResID
CMTPServiceInfo & aServiceInfo

StartReadServicePropertyNamespacesL(RResourceFile &, const TUint, RArray< TMTPTypeGuid > &)

voidStartReadServicePropertyNamespacesL(RResourceFile &aResFile,
const TUintaResID,
RArray< TMTPTypeGuid > &aNamespaces
)[private]

Parameters

RResourceFile & aResFile
const TUint aResID
RArray< TMTPTypeGuid > & aNamespaces

StartReadUseServicesL(RResourceFile &, const TUint, CMTPServiceInfo &)

voidStartReadUseServicesL(RResourceFile &aResFile,
const TUintaResID,
CMTPServiceInfo &aServiceInfo
)[private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

SupportedServiceOrderFromAscending(const TSupportedService &, const TSupportedService &)

TInt SupportedServiceOrderFromAscending(const TSupportedService &aL,
const TSupportedService &aR
)[static]

Parameters

const TSupportedService & aL
const TSupportedService & aR

SupportedServiceOrderFromKeyAscending(const TMTPTypeGuid *, const TSupportedService &)

TInt SupportedServiceOrderFromKeyAscending(const TMTPTypeGuid *aL,
const TSupportedService &aR
)[static]

Parameters

const TMTPTypeGuid * aL
const TSupportedService & aR

Member Data Documentation

__FLOG_DECLARATION_MEMBER_MUTABLE

__FLOG_DECLARATION_MEMBER_MUTABLE[private]

FLOGGER debug trace member variable.

RFs & iRFs

RFs &iRFs[private]

RPointerArray< CMTPServiceInfo > iServiceInfos

RPointerArray< CMTPServiceInfo >iServiceInfos[private]

service info store after loaded.

RArray< TSupportedService > iSupportedServices

RArray< TSupportedService >iSupportedServices[private]