OpenTTD Source  20241121-master-g67a0fccfad
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 Orderpointer
 
typedef Orderreference
 
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
 
Orderoperator* () const
 
OrderIteratoroperator++ ()
 

Private Attributes

OrderListlist
 
Orderorder
 
Orderprev
 

Detailed Description

Iterator to iterate orders Supports deletion of current order.

Definition at line 1041 of file vehicle_base.h.


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