HnMdKeyFactory Class Reference

class HnMdKeyFactory

Provides static methods for creating particular key classes.

hnutilities.lib
Since
S60 v3.0
Public Member Functions
IMPORT_C CHnMdBaseKey *CreateL(TXmlEngElement)
IMPORT_C CHnMdBaseKey *CreateL(const TDesC8 &, const TDesC8 &, const TDesC8 &)
IMPORT_C CHnMdBaseKey *CreateL(const TDesC8 &, const TDesC8 &, const TDesC &)
IMPORT_C CHnMdBaseKey *CreateLC(TXmlEngElement)
Private Member Functions
CHnMdBaseKey *CreateL(const TDesC8 &)

Member Functions Documentation

CreateL(TXmlEngElement)

IMPORT_C CHnMdBaseKey *CreateL(TXmlEngElementaElement)[static]

Creates particular key type depending on XML element. Sets name and value of the key read also from XML.

since S60 v5.0

Parameters

TXmlEngElement aElementXML DOM Element.

CreateL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C CHnMdBaseKey *CreateL(const TDesC8 &aName,
const TDesC8 &aType,
const TDesC8 &aValue
)[static]

Creates particular key type depending on passed argument. Sets name and value of the key.

since S60 v5.0

Parameters

const TDesC8 & aNameKey name.
const TDesC8 & aTypeKey type.
const TDesC8 & aValueKey value.

CreateL(const TDesC8 &, const TDesC8 &, const TDesC &)

IMPORT_C CHnMdBaseKey *CreateL(const TDesC8 &aName,
const TDesC8 &aType,
const TDesC &aValue
)[static]

Creates particular key type depending on passed argument. Sets name and value of the key.

since S60 v5.0

Parameters

const TDesC8 & aNameKey name.
const TDesC8 & aTypeKey type.
const TDesC & aValueKey value.

CreateL(const TDesC8 &)

CHnMdBaseKey *CreateL(const TDesC8 &aKeyType)[private, static]

Creates particular key type depending on passed argument.

since S60 v5.0

Parameters

const TDesC8 & aKeyTypeKey type.

CreateLC(TXmlEngElement)

IMPORT_C CHnMdBaseKey *CreateLC(TXmlEngElementaElement)[static]

Creates particular key type depending on XML element. Sets name and value of the key read also from XML.

since S60 v5.0

Parameters

TXmlEngElement aElementXML DOM Element.