Sort by value, descending. More...
Public Member Functions | |
ScriptListSorterValueDescending (ScriptList *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 | |
ScriptList::ScriptListBucket::iterator | bucket_iter |
The iterator over the list to find the buckets. | |
ScriptList::AIItemList * | bucket_list |
The current bucket list we're iterator over. | |
ScriptList::AIItemList::iterator | bucket_list_iter |
The iterator over the bucket list. |
Sort by value, descending.
Definition at line 150 of file script_list.cpp.
ScriptListSorterValueDescending::ScriptListSorterValueDescending | ( | ScriptList * | list | ) | [inline] |
Create a new sorter.
list | The list to sort. |
Definition at line 161 of file script_list.cpp.
References End().