OpenTTD Source 20241224-master-gee860a5c8e
|
Public Member Functions | |
CargoSorter (CargoSortType t=CargoSortType::StationID, SortOrder o=SO_ASCENDING) | |
CargoSortType | GetSortType () |
bool | operator() (const CargoDataEntry *cd1, const CargoDataEntry *cd2) const |
Private Member Functions | |
template<class Tid > | |
bool | SortId (Tid st1, Tid 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 897 of file station_gui.cpp.
|
inline |
Definition at line 899 of file station_gui.cpp.
|
inline |
Definition at line 900 of file station_gui.cpp.
bool CargoSorter::operator() | ( | const CargoDataEntry * | cd1, |
const CargoDataEntry * | cd2 | ||
) | const |
Definition at line 1201 of file station_gui.cpp.
|
private |
Definition at line 1223 of file station_gui.cpp.
|
private |
Definition at line 1218 of file station_gui.cpp.
Definition at line 1236 of file station_gui.cpp.
|
private |
Definition at line 905 of file station_gui.cpp.
|
private |
Definition at line 904 of file station_gui.cpp.