CMTPServiceConfig Class Reference

class CMTPServiceConfig : public CBase

Inherits from

Nested Classes and Structures

Public Member Functions
~CMTPServiceConfig ()
TBool IsSupportedService (const TMTPTypeGuid &)
void LoadServiceDataL (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 &)
void ConstructL (const TDesC &)
void InitializeL ( TResourceReader &)
TMTPTypeGuid ReadGUID ( TResourceReader &)
TUint ServiceResourceIDL (const TMTPTypeGuid &)
void StartReadServiceDataBlockL ( RResourceFile &, const TUint , CMTPServiceInfo &)
void StartReadServiceEventsL ( RResourceFile &, const TUint , CMTPServiceInfo &)
void StartReadServiceFormatsL ( RResourceFile &, const TUint , CMTPServiceInfo &)
void StartReadServiceMethodsL ( RResourceFile &, const TUint , CMTPServiceInfo &)
void StartReadServicePropertiesL ( RResourceFile &, const TUint , const TUint , CMTPServiceInfo &)
void StartReadServicePropertyNamespacesL ( RResourceFile &, const TUint , RArray < TMTPTypeGuid > &)
void StartReadUseServicesL ( 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 &)

void ConstructL ( const TDesC & aResourceFilename ) [private]

Parameters

const TDesC & aResourceFilename

InitializeL(TResourceReader &)

void InitializeL ( TResourceReader & aReader ) [private]

Parameters

TResourceReader & aReader

IsSupportedService(const TMTPTypeGuid &)

TBool IsSupportedService ( const TMTPTypeGuid & aServiceGUID ) const

Parameters

const TMTPTypeGuid & aServiceGUID

LoadServiceDataL(const TMTPTypeGuid &)

void LoadServiceDataL ( 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 TUint aServiceID ) 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 &)

void StartReadServiceDataBlockL ( RResourceFile & aResFile,
const TUint aResID,
CMTPServiceInfo & aServiceInfo
) [private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServiceEventsL(RResourceFile &, const TUint, CMTPServiceInfo &)

void StartReadServiceEventsL ( RResourceFile & aResFile,
const TUint aResID,
CMTPServiceInfo & aServiceInfo
) [private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServiceFormatsL(RResourceFile &, const TUint, CMTPServiceInfo &)

void StartReadServiceFormatsL ( RResourceFile & aResFile,
const TUint aResID,
CMTPServiceInfo & aServiceInfo
) [private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

StartReadServiceMethodsL(RResourceFile &, const TUint, CMTPServiceInfo &)

void StartReadServiceMethodsL ( RResourceFile & aResFile,
const TUint aResID,
CMTPServiceInfo & aServiceInfo
) [private]

Parameters

RResourceFile & aResFile
const TUint aResID
CMTPServiceInfo & aServiceInfo

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

void StartReadServicePropertiesL ( RResourceFile & aResFile,
const TUint aNamespaceResID,
const TUint aPropertiesResID,
CMTPServiceInfo & aServiceInfo
) [private]

Parameters

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

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

void StartReadServicePropertyNamespacesL ( RResourceFile & aResFile,
const TUint aResID,
RArray < TMTPTypeGuid > & aNamespaces
) [private]

Parameters

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

StartReadUseServicesL(RResourceFile &, const TUint, CMTPServiceInfo &)

void StartReadUseServicesL ( RResourceFile & aResFile,
const TUint aResID,
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]