CAknEnumeratedItemBase Class Reference

class CAknEnumeratedItemBase : public CBase

Base class for a data object to hold a pointer and a corresponding integer value. This is used to make a template class by CAknEnumeratedItem

Inherits from

  • CAknEnumeratedItemBase

Constructor & Destructor Documentation

CAknEnumeratedItemBase(TInt, TAny *)

IMPORT_CCAknEnumeratedItemBase(TIntaEnumeratedValue,
TAny *aValue
)

Construct an item consisting of an integer value and its co-ordinate pointer

Parameters

TInt aEnumeratedValue
TAny * aValue

~CAknEnumeratedItemBase()

IMPORT_C~CAknEnumeratedItemBase()

Destructor

Member Functions Documentation

EnumerationValue()

IMPORT_C TIntEnumerationValue()const

Access the integer value

SetEnumerationValue(TInt)

IMPORT_C voidSetEnumerationValue(TIntaNewValue)

Set the integer part of the object

Parameters

TInt aNewValueValue to set

SetValue(TAny *)

IMPORT_C voidSetValue(TAny *aPtr)

Set the pointer part of the object

Parameters

TAny * aPtr

Value()

IMPORT_C TAny *Value()const

Access the pointer part of the object

Member Data Documentation

TInt iEnumerationValue

TInt iEnumerationValue[private]

TAny * iValue

TAny *iValue[private]