CConnectionSettings Class Reference

#include <comms-infras/ss_connsettings.h>

class CConnectionSettings : public CBase

Inherits from

  • CConnectionSettings
    Public Member Functions
    CConnectionSettings()
    IMPORT_C voidGetBoolSettingL(const TDesC &, TBool &, const RMessagePtr2 *)
    IMPORT_C voidGetDes16SettingL(const TDesC &, TDes16 &, const RMessagePtr2 *)
    IMPORT_C voidGetDes8SettingL(const TDesC &, TDes8 &, const RMessagePtr2 *)
    IMPORT_C voidGetIntSettingL(const TDesC &, TUint32 &, const RMessagePtr2 *)
    IMPORT_C HBufC *GetLongDesSettingLC(const TDesC &, const RMessagePtr2 *)
    Protected Member Functions
    pure virtual voidDoGetBoolSettingL(const TDesC &, TBool &, const RMessagePtr2 *)
    pure virtual voidDoGetDes16SettingL(const TDesC &, TDes16 &, const RMessagePtr2 *)
    pure virtual voidDoGetDes8SettingL(const TDesC &, TDes8 &, const RMessagePtr2 *)
    pure virtual voidDoGetIntSettingL(const TDesC &, TUint32 &, const RMessagePtr2 *)
    pure virtual HBufC *DoGetLongDesSettingLC(const TDesC &, const RMessagePtr2 *)
    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()

    Detailed Description

    Base class that any client wishing to access underlying comms database settings Since 9.1

    See also: CConnectionProvider

    Constructor & Destructor Documentation

    CConnectionSettings ( )

    IMPORT_CCConnectionSettings()

    Constructor

    Member Function Documentation

    DoGetBoolSettingL ( const TDesC &, TBool &, const RMessagePtr2 * )

    voidDoGetBoolSettingL(const TDesC &aSettingName,
    TBool &aValue,
    const RMessagePtr2 *aMessage
    )[protected, pure virtual]

    Override this to retrieve a boolean value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a boolean that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    DoGetDes16SettingL ( const TDesC &, TDes16 &, const RMessagePtr2 * )

    voidDoGetDes16SettingL(const TDesC &aSettingName,
    TDes16 &aValue,
    const RMessagePtr2 *aMessage
    )[protected, pure virtual]

    Override this to retrieve a unicode string value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a string that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    DoGetDes8SettingL ( const TDesC &, TDes8 &, const RMessagePtr2 * )

    voidDoGetDes8SettingL(const TDesC &aSettingName,
    TDes8 &aValue,
    const RMessagePtr2 *aMessage
    )[protected, pure virtual]

    Override this to retrieve a 8-bit string value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a string that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    DoGetIntSettingL ( const TDesC &, TUint32 &, const RMessagePtr2 * )

    voidDoGetIntSettingL(const TDesC &aSettingName,
    TUint32 &aValue,
    const RMessagePtr2 *aMessage
    )[protected, pure virtual]

    Override this to retrieve a unsigned 32-bit int value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a TUint32 that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    DoGetLongDesSettingLC ( const TDesC &, const RMessagePtr2 * )

    HBufC *DoGetLongDesSettingLC(const TDesC &aSettingName,
    const RMessagePtr2 *aMessage
    )[protected, pure virtual]

    Override this to retrieve a string value as a heap allocated buffer from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aMessageRMessage pointer required for secure session communication

    Returns: Pointer to the dynamically allocated string

    GetBoolSettingL ( const TDesC &, TBool &, const RMessagePtr2 * )

    IMPORT_C voidGetBoolSettingL(const TDesC &aSettingName,
    TBool &aValue,
    const RMessagePtr2 *aMessage
    )

    Retrieve a boolean value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a boolean that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    GetDes16SettingL ( const TDesC &, TDes16 &, const RMessagePtr2 * )

    IMPORT_C voidGetDes16SettingL(const TDesC &aSettingName,
    TDes16 &aValue,
    const RMessagePtr2 *aMessage
    )

    Retrieve a unicode string value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a string that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    GetDes8SettingL ( const TDesC &, TDes8 &, const RMessagePtr2 * )

    IMPORT_C voidGetDes8SettingL(const TDesC &aSettingName,
    TDes8 &aValue,
    const RMessagePtr2 *aMessage
    )

    Retrieve a 8-bit string value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a string that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    GetIntSettingL ( const TDesC &, TUint32 &, const RMessagePtr2 * )

    IMPORT_C voidGetIntSettingL(const TDesC &aSettingName,
    TUint32 &aValue,
    const RMessagePtr2 *aMessage
    )

    Retrieve a unsigned 32-bit int value from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aValueReference to a TUint32 that will contain the value on call success
    aMessageRMessage pointer required for secure session communication

    GetLongDesSettingLC ( const TDesC &, const RMessagePtr2 * )

    IMPORT_C HBufC *GetLongDesSettingLC(const TDesC &aSettingName,
    const RMessagePtr2 *aMessage
    )

    Retrieve a string value as a heap allocated buffer from the database with the given field name

    ParameterDescription
    aSettingNameField name
    aMessageRMessage pointer required for secure session communication

    Returns: Pointer to the dynamically allocated string