Sort by value, descending. More...
Public Member Functions | |
AIListSorterValueDescending (AIList *list) | |
Create a new sorter. | |
int32 | Begin () |
Get the first item of the sorter. | |
void | End () |
Stop iterating a sorter. | |
void | FindNext () |
Find the next item, and store that information. | |
int32 | Next () |
Get the next item of the sorter. | |
void | Remove (int item) |
Callback from the list if an item gets removed. | |
Private Attributes | |
AIList::AIListBucket::iterator | bucket_iter |
The iterator over the list to find the buckets. | |
AIList::AIItemList * | bucket_list |
The current bucket list we're iterator over. | |
AIList::AIItemList::iterator | bucket_list_iter |
The iterator over the bucket list. |
Sort by value, descending.
Definition at line 150 of file ai_list.cpp.
AIListSorterValueDescending::AIListSorterValueDescending | ( | AIList * | list | ) | [inline] |
Create a new sorter.
list | The list to sort. |
Definition at line 161 of file ai_list.cpp.
References End().