Alf::IAlfModel Class Reference
class Alf::IAlfModel : public Alf::IAlfInterfaceBase
|
An interface of the component model. alfwidgetmodel.lib
-
Since
-
S60 ?S60_version Draft
Constructor & Destructor Documentation
~IAlfModel()
~IAlfModel
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
addData(int, int *, IAlfVariantType *)
void
|
addData
|
(
|
int
|
aNumContainerIndices,
|
|
int *
|
aContainerIndices,
|
|
IAlfVariantType
*
|
aData
|
|
)
|
[pure virtual]
|
Add a number of data fields in the model data. All model change observers are notified about the change.
Parameters
int aNumContainerIndices
|
The number of indices in aContainerIndices.
|
int * aContainerIndices
|
The container indices to find the correct location in the data hierarchy. The ownership is transferred.
|
IAlfVariantType
* aData
|
The new data.
|
addModelChangeObserver(IAlfModelChangeObserver &)
Add a new observer to be notified of any changes in the model.
-
Exceptions
-
-
Since
-
S60 ?S60_version
clearModel()
void
|
clearModel
|
(
|
)
|
[pure virtual]
|
Clears the Model.
-
Since
-
S60 ?S60_version
data()
Get the root data object of this model.
executeOperation(AlfModelOperation *)
Api for executing one operation at a
Time
executeOperations(AlfPtrVector< AlfModelOperation > &)
Api for executing batch operations
removeData(int, int *)
void
|
removeData
|
(
|
int
|
aNumContainerIndices,
|
|
int *
|
aContainerIndices
|
|
)
|
[pure virtual]
|
Remove a number of data fields in the model data. All model change observers are notified about the change.
Parameters
int aNumContainerIndices
|
The number of indices in aContainerIndices.
|
int * aContainerIndices
|
The container indices to find the correct location in the data hierarchy. The ownership is transferred.
|
removeModelChangeObserver(IAlfModelChangeObserver &)
Remove an observer which is added to get notifications.
setData(IAlfVariantType *)
Api to change the model completely at one short. From
IAlfModel
type()
const
IfId
&
|
type
|
(
|
)
|
[static, inline]
|
updateData(int, int *, IAlfVariantType *)
void
|
updateData
|
(
|
int
|
aNumContainerIndices,
|
|
int *
|
aContainerIndices,
|
|
IAlfVariantType
*
|
aData
|
|
)
|
[pure virtual]
|
Change a given of data fields in the model . All model change observers are notified about the change.
-
Since
-
S60 ?S60_version
Parameters
int aNumContainerIndices
|
The number of indices in aContainerIndices.
|
int * aContainerIndices
|
The container indices to find the correct location in the data hierarchy. The ownership is transferred.
|
IAlfVariantType
* aData
|
- The new data to be set
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.