Public Member Functions | Private Attributes

ScriptListSorterValueDescending Class Reference

Sort by value, descending. More...

Inheritance diagram for ScriptListSorterValueDescending:
ScriptListSorter

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::AIItemListbucket_list
 The current bucket list we're iterator over.
ScriptList::AIItemList::iterator bucket_list_iter
 The iterator over the bucket list.

Detailed Description

Sort by value, descending.

Definition at line 150 of file script_list.cpp.


Constructor & Destructor Documentation

ScriptListSorterValueDescending::ScriptListSorterValueDescending ( ScriptList list  )  [inline]

Create a new sorter.

Parameters:
list The list to sort.

Definition at line 161 of file script_list.cpp.

References End().


The documentation for this class was generated from the following file: