- 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
Search
Searches for an element equal to the sample in the sorted list.
CObject* Search(
|
Parameters
element
[in] element sample to search for in the list.
Return Value
Pointer to the found element - successful, NULL - the element is not found.
Example:
//--- example for CList::Search(CObject*)
|