API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ILISTCONTAINERMODEL_GETITEMDATA()

Brew Release
Brew MP 1.0.2
See Also
- IListContainerModel Interface - ITypedValueModel Interface
Description
This function returns the data (in the form of a ITypedValueModel) for a list item at a certain index in a certain state.
Params
pif
[]:
Pointer to the IListContainerModel interface object.
nIndex
[]:
Indicates the zero-based index of the list item. The first item in the list is indexed by 0, the second is indexed by 1, and so on...
nState
[]:
State of the item.
piTVM
[]:
ITypedValueModel pointer that will have data corresponding to item at certain index in a certain state.
Prototype
  •    int IListContainerModel_GetItemData(IListContainerModel* pif, int nIndex, int nState, ITypedValueModel *piTVM);
    
Return
  •    AEE_SUCCESS  - The model was able to successfully return item widget of 
                      certain type and state.
       Error code   - The model was not able to return item widget.
    
Side Effect
  • None
Comments
None