CRsfwConfig Class Reference

class CRsfwConfig : public CBase

Configuration API for Rsfw operation

rsfwconfig.lib
Since
Series 60 3.1

Inherits from

Constructor & Destructor Documentation

~CRsfwConfig()

~CRsfwConfig ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL(TUid)

void ConstructL ( TUid aRepositoryId ) [private]

Parameters

TUid aRepositoryId

Get(TUint, TInt &)

IMPORT_C TInt Get ( TUint aId,
TInt & aValue
)

Gets numeric value.

Parameters

TUint aId parameter id
TInt & aValue

Get(TUint, TDes &)

IMPORT_C TInt Get ( TUint aId,
TDes & aValue
)

Gets string value.

Parameters

TUint aId parameter id
TDes & aValue

IsFalse(TUint)

IMPORT_C TBool IsFalse ( TUint aId )

Checks whether a string value is False. Gets boolean value: returns true iff string starts with '0' | 'N' | 'F' (case-insensitive) If the repository or value is missing returns False.

Parameters

TUint aId parameter id

IsTrue(TUint)

IMPORT_C TBool IsTrue ( TUint aId )

Checks whether a string value is True. Gets boolean value: return true iff string starts with '1' | 'Y' | 'T' (case-insensitive). If the repository value is missing returns False.

Parameters

TUint aId parameter id

NewL(TUid)

IMPORT_C CRsfwConfig * NewL ( TUid aRepositoryUid ) [static]

Two-phased constructor.

Parameters

TUid aRepositoryUid

Set(TUint, TInt &)

IMPORT_C TInt Set ( TUint aId,
TInt & aValue
)

Sets numeric value.

Parameters

TUint aId parameter id
TInt & aValue

Set(TUint, TDes &)

IMPORT_C TInt Set ( TUint aId,
TDes & aValue
)

Sets string value.

Parameters

TUint aId parameter id
TDes & aValue

Member Data Documentation

CRepository * iRepository

CRepository * iRepository [private]