CAknEnumeratedItemBase Class Reference

#include <mw/aknsettingitemlist.h>

class CAknEnumeratedItemBase : public CBase

Inherits from

  • CAknEnumeratedItemBase

    Detailed Description

    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

    Constructor & Destructor Documentation

    CAknEnumeratedItemBase ( TInt, TAny * )

    IMPORT_CCAknEnumeratedItemBase(TIntaEnumeratedValue,
    TAny *aValue
    )

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

    ~CAknEnumeratedItemBase ( )

    IMPORT_C~CAknEnumeratedItemBase()

    Destructor

    Member Function Documentation

    EnumerationValue ( )

    IMPORT_C TIntEnumerationValue()const

    Access the integer value

    Returns: the integer value of this item

    SetEnumerationValue ( TInt )

    IMPORT_C voidSetEnumerationValue(TIntaNewValue)

    Set the integer part of the object

    ParameterDescription
    aNewValueValue to set

    SetValue ( TAny * )

    IMPORT_C voidSetValue(TAny *aPtr)

    Set the pointer part of the object

    Value ( )

    IMPORT_C TAny *Value()const

    Access the pointer part of the object

    Returns: TAny* pointer to any type