CPlayerApplicationSettings Class Reference

class CPlayerApplicationSettings : public CBase

Class containing all the information for one attribute. All the attributes for a player are contained in a RHashMap of CPlayerApplicationSettings in CPlayerInfoTarget

Inherits from

  • CPlayerApplicationSettings

Constructor & Destructor Documentation

CPlayerApplicationSettings()

CPlayerApplicationSettings()[private]

Constructor.

~CPlayerApplicationSettings()

~CPlayerApplicationSettings()

Destructor

Member Functions Documentation

ConstructL(TUint, TDesC8 &, const RArray< TUint > &, RArray< TPtrC8 > &, TUint)

voidConstructL(TUintaAttributeID,
TDesC8 &aAttributeText,
const RArray< TUint > &aValues,
RArray< TPtrC8 > &aValueText,
TUintaInitialValue
)[private]

Parameters

TUint aAttributeID
TDesC8 & aAttributeText
const RArray< TUint > & aValues
RArray< TPtrC8 > & aValueText
TUint aInitialValue

GetAttributeID()

TUint GetAttributeID()

GetAttributeText()

TPtrC8 GetAttributeText()

GetCurrentValue()

TUint GetCurrentValue()

GetValues()

RArray< TUint > *GetValues()

GetValuesTexts()

RPointerArray< HBufC8 > *GetValuesTexts()

NewL(TUint, TDesC8 &, const RArray< TUint > &, RArray< TPtrC8 > &, TUint)

CPlayerApplicationSettings *NewL(TUintaAttributeID,
TDesC8 &aAttributeText,
const RArray< TUint > &aValues,
RArray< TPtrC8 > &aValueTexts,
TUintaInitialValue
)[static]

Factory function.

Parameters

TUint aAttributeIDThe ID value
TDesC8 & aAttributeTextA text description of the attribute
const RArray< TUint > & aValuesA list of valid values
RArray< TPtrC8 > & aValueTextsA list of descriptions of the possible values
TUint aInitialValueThe starting value

SetCurrentValue(TUint)

TInt SetCurrentValue(TUintaValue)

Parameters

TUint aValue

Member Data Documentation

TUint iAttributeID

TUint iAttributeID[private]

HBufC8 * iAttributeText

HBufC8 *iAttributeText[private]

TUint iCurrentValue

TUint iCurrentValue[private]

RPointerArray< HBufC8 > iValueText

RPointerArray< HBufC8 >iValueText[private]

RArray< TUint > iValues

RArray< TUint >iValues[private]