- FreeMode
- FreeMode
- Total
- IsSorted
- SortMode
- CreateElement
- Add
- Insert
- DetachCurrent
- DeleteCurrent
- Delete
- Clear
- IndexOf
- GetNodeAtIndex
- GetFirstNode
- GetPrevNode
- GetCurrentNode
- GetNextNode
- GetLastNode
- Sort
- MoveToIndex
- Exchange
- CompareList
- Search
- Save
- Load
- Type
IndexOf
Gets the index of the specified list element.
int IndexOf(
|
Parameters
element
[in] pointer to the list element.
Return Value
List element index, or -1.
Example:
//--- example for CList::IndexOf(CObject*)
|