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 ( TXmlEngElement aElement ) [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 aElement XML 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 & aName Key name.
const TDesC8 & aType Key type.
const TDesC8 & aValue Key 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 & aName Key name.
const TDesC8 & aType Key type.
const TDesC & aValue Key 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 & aKeyType Key type.

CreateLC(TXmlEngElement)

IMPORT_C CHnMdBaseKey * CreateLC ( TXmlEngElement aElement ) [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 aElement XML DOM Element.