TAccModeSettingArray Class Reference

class TAccModeSettingArray

Stores number of TAccModeSetting objects.

AccControl.lib
Since
S60 3.1
Public Member Functions
TAccModeSettingArray()
IMPORT_C TIntAddSetting(const TAccModeSetting &)
IMPORT_C TIntGetArraySize()
IMPORT_C TIntGetMaxArraySize()
IMPORT_C TIntGetSetting(const TInt, TAccModeSetting &)
IMPORT_C voidReset()
Private Attributes
TInt iIndex
TAccModeSetting iSettings

Constructor & Destructor Documentation

TAccModeSettingArray()

IMPORT_CTAccModeSettingArray()

C++ default constructor.

Member Functions Documentation

AddSetting(const TAccModeSetting &)

IMPORT_C TIntAddSetting(const TAccModeSetting &aSetting)

Adds setting onto the end of the array.

Since
S60 3.1

Parameters

const TAccModeSetting & aSettingsetting

GetArraySize()

IMPORT_C TIntGetArraySize()const

Returns the size of an array.

Since
S60 3.1

GetMaxArraySize()

IMPORT_C TIntGetMaxArraySize()const

Returns maximum size of an array.

Since
S60 3.1

GetSetting(const TInt, TAccModeSetting &)

IMPORT_C TIntGetSetting(const TIntaIndex,
TAccModeSetting &aSetting
)const

Returns setting from array at the specified position.

Since
S60 3.1

Parameters

const TInt aIndexspecifies position (= an index of array)
TAccModeSetting & aSettingsetting

Reset()

IMPORT_C voidReset()

Removes all items from array.

Since
S60 3.1

Member Data Documentation

TInt iIndex

TInt iIndex[private]

TAccModeSetting iSettings

TAccModeSetting iSettings[private]