Public Member Functions | Protected Attributes

ScriptListSorter Class Reference

Base class for any ScriptList sorter. More...

Inheritance diagram for ScriptListSorter:
ScriptListSorterItemAscending ScriptListSorterItemDescending ScriptListSorterValueAscending ScriptListSorterValueDescending

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

ScriptListlist
 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.

Detailed Description

Base class for any ScriptList sorter.

Definition at line 20 of file script_list.cpp.


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