* Retrieve a child for the given station. Return nullptr if it doesn't exist. * @param station ID of the station the child we're looking for is associated with. * @return a child entry for the given station or nullptr. */
| 946 | * @return a child entry for the given station or nullptr. |
| 947 | */ |
| 948 | CargoDataEntry *Retrieve(StationID station) const |
| 949 | { |
| 950 | CargoDataEntry t(station); |
| 951 | return this->Retrieve(this->children->find(t)); |
| 952 | } |
| 953 | |
| 954 | /** |
| 955 | * Retrieve a child for the given cargo. Return nullptr if it doesn't exist. |