OpenTTD Source: Vehicle::OrderIterator Struct Reference

OpenTTD Source 14.1

Public Types | Public Member Functions | Private Attributes
Vehicle::OrderIterator Struct Reference

Iterator to iterate orders Supports deletion of current order. More...

`#include <vehicle_base.h>`

## Public Types
typedef Order | value_type
typedef Order * | pointer
typedef Order & | reference
typedef size_t | difference_type
typedef std::forward_iterator_tag | iterator_category

## Public Member Functions
| OrderIterator (OrderList *list)
bool | operator== (const OrderIterator &other) const
bool | operator!= (const OrderIterator &other) const
Order * | operator* () const
OrderIterator & | operator++ ()

## Private Attributes
OrderList * | list
Order * | order
Order * | prev

## Detailed Description

Iterator to iterate orders Supports deletion of current order.

Definition at line 1037 of file vehicle_base.h.

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

- src/vehicle_base.h