* Is this order a OrderLoadType::FullLoad or OrderLoadType::FullLoadAny? * @return true iff the order is a full load or full load any order. */
| 133 | * @return true iff the order is a full load or full load any order. |
| 134 | */ |
| 135 | inline bool IsFullLoadOrder() const |
| 136 | { |
| 137 | OrderLoadType type = GetLoadType(); |
| 138 | return type == OrderLoadType::FullLoad || type == OrderLoadType::FullLoadAny; |
| 139 | } |
| 140 | |
| 141 | /** How must the consist be loaded? */ |
| 142 | inline OrderLoadType GetLoadType() const { return static_cast<OrderLoadType>(GB(this->flags, 4, 3)); } |
no outgoing calls
no test coverage detected