Base class for any ScriptList sorter. More...
Public Member Functions | |
| virtual | ~ScriptListSorter () |
| Virtual dtor, needed to mute warnings. | |
| virtual int32 | Begin ()=0 |
| Get the first item of the sorter. | |
| virtual void | End ()=0 |
| Stop iterating a sorter. | |
| virtual int32 | Next ()=0 |
| Get the next item of the sorter. | |
| bool | IsEnd () |
| See if the sorter has reached the end. | |
| virtual void | Remove (int item)=0 |
| Callback from the list if an item gets removed. | |
Protected Attributes | |
| ScriptList * | list |
| The list that's being sorted. | |
| bool | has_no_more_items |
| Whether we have more items to iterate over. | |
| int32 | item_next |
| The next item we will show. | |
Base class for any ScriptList sorter.
Definition at line 20 of file script_list.cpp.
1.7.1