CCFKeyValuePair Class Reference

class CCFKeyValuePair : public CBase

Encapsulates key value pair definition.

Inherits from

Constructor & Destructor Documentation

CCFKeyValuePair()

CCFKeyValuePair ( ) [private]

CCFKeyValuePair(HBufC *, HBufC *)

CCFKeyValuePair ( HBufC * aKey,
HBufC * aValue
) [private]

Parameters

HBufC * aKey
HBufC * aValue

~CCFKeyValuePair()

IMPORT_C ~CCFKeyValuePair ( )

Member Functions Documentation

ConstructL(const TDesC &, const TDesC &)

void ConstructL ( const TDesC & aKey,
const TDesC & aValue
) [private]

Parameters

const TDesC & aKey
const TDesC & aValue

Key()

IMPORT_C const TDesC & Key ( ) const

Returns key.

Since
S60 5.0

NewL(const TDesC &, const TDesC &)

IMPORT_C CCFKeyValuePair * NewL ( const TDesC & aKey,
const TDesC & aValue
) [static]

Two phased constructor.

Since
S60 5.0

Parameters

const TDesC & aKey Key.
const TDesC & aValue Value.

NewL(HBufC *, HBufC *)

IMPORT_C CCFKeyValuePair * NewL ( HBufC * aKey,
HBufC * aValue
) [static]

Two phased constructor. Ownership of parameters are transfered.

Since
S60 5.0

Parameters

HBufC * aKey Key.
HBufC * aValue Value.

NewLC(const TDesC &, const TDesC &)

IMPORT_C CCFKeyValuePair * NewLC ( const TDesC & aKey,
const TDesC & aValue
) [static]

Parameters

const TDesC & aKey
const TDesC & aValue

NewLC(HBufC *, HBufC *)

IMPORT_C CCFKeyValuePair * NewLC ( HBufC * aKey,
HBufC * aValue
) [static]

Parameters

HBufC * aKey
HBufC * aValue

Value()

IMPORT_C const TDesC & Value ( ) const

Returns value.

Since
S60 5.0

Member Data Documentation

HBufC * iKey

HBufC * iKey [private]

HBufC * iValue

HBufC * iValue [private]