Public Member Functions | |
CargoSorter (CargoSortType t=ST_STATION_ID, SortOrder o=SO_ASCENDING) | |
CargoSortType | GetSortType () |
bool | operator() (const CargoDataEntry *cd1, const CargoDataEntry *cd2) const |
Private Member Functions | |
template<class ID > | |
bool | SortId (ID st1, ID st2) const |
bool | SortCount (const CargoDataEntry *cd1, const CargoDataEntry *cd2) const |
bool | SortStation (StationID st1, StationID st2) const |
Private Attributes | |
CargoSortType | type |
SortOrder | order |
Definition at line 71 of file station_gui.h.