S60 3rd Edition API Reference: CAknEnumeratedItemBase Class Reference
CAknEnumeratedItemBase Class Reference
API published in: S60 1st Ed
Link against: avkon.lib
Capability Information
Required Capabilities
None
#include <aknsettingitemlist.h>
Inherited by CAknEnumeratedItem< T >.
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
|
Public Member Functions |
| IMPORT_C | CAknEnumeratedItemBase (TInt aEnumeratedValue, TAny *aValue) |
| | Construct an item consisting of an integer value and its co-ordinate pointer.
|
| IMPORT_C | ~CAknEnumeratedItemBase () |
| | Destructor.
|
| IMPORT_C TInt | EnumerationValue () const |
| | Access the integer value.
|
| IMPORT_C void | SetEnumerationValue (TInt aNewValue) |
| | Set the integer part of the object.
|
| IMPORT_C TAny * | Value () const |
| | Access the pointer part of the object.
|
| IMPORT_C void | SetValue (TAny *aPtr) |
| | Set the pointer part of the object.
|
Constructor & Destructor Documentation
| IMPORT_C CAknEnumeratedItemBase::CAknEnumeratedItemBase | ( | TInt | aEnumeratedValue, | | | TAny * | aValue | | ) | |
|
|
|
Construct an item consisting of an integer value and its co-ordinate pointer.
|
| IMPORT_C CAknEnumeratedItemBase::~CAknEnumeratedItemBase | ( | | ) | |
|
Member Function Documentation
| IMPORT_C TInt CAknEnumeratedItemBase::EnumerationValue | ( | | ) | const |
|
|
|
Access the integer value.
- Returns:
- the integer value of this item
|
| IMPORT_C void CAknEnumeratedItemBase::SetEnumerationValue | ( | TInt | aNewValue | ) | |
|
|
|
Set the integer part of the object.
- Parameters:
-
|
| IMPORT_C void CAknEnumeratedItemBase::SetValue | ( | TAny * | aPtr | ) | |
|
|
|
Set the pointer part of the object.
- Parameters:
-
| pointer | to store in the object; no copy model, no ownership transfer |
|
| IMPORT_C TAny* CAknEnumeratedItemBase::Value | ( | | ) | const |
|
|
|
Access the pointer part of the object.
- Returns:
- TAny* pointer to any type
|
The documentation for this class was generated from the following file: