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

Constructor & Destructor Documentation

CAknEnumeratedItemBase(TInt, TAny *)

IMPORT_C CAknEnumeratedItemBase ( TInt aEnumeratedValue,
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 TInt EnumerationValue ( ) const

Access the integer value

SetEnumerationValue(TInt)

IMPORT_C void SetEnumerationValue ( TInt aNewValue )

Set the integer part of the object

Parameters

TInt aNewValue Value to set

SetValue(TAny *)

IMPORT_C void SetValue ( 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]