AIListSorterItemAscending Class Reference

Sort by item, ascending. More...

Inheritance diagram for AIListSorterItemAscending:
AIListSorter

Public Member Functions

 AIListSorterItemAscending (AIList *list)
int32 Begin ()
 Get the first item of the sorter.
void End ()
 Stop iterating a sorter.
void FindNext ()
int32 Next ()
 Get the next item of the sorter.
void Remove (int item)
 Callback from the list if an item gets removed.
bool IsEnd ()
 See if the sorter has reached the end.

Private Attributes

AIList::AIListMap::iterator item_iter
bool has_no_more_items
int32 item_next

Detailed Description

Sort by item, ascending.

Definition at line 238 of file ai_list.cpp.


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

Generated on Fri Dec 31 17:16:16 2010 for OpenTTD by  doxygen 1.6.1