OpenTTD Source: Vehicle::IterateWrapper Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
Vehicle::IterateWrapper Struct Reference

Iterable ensemble of orders. More...

`#include <vehicle_base.h>`

## Public Member Functions
| IterateWrapper (OrderList *list=nullptr)
OrderIterator | begin ()
OrderIterator | end ()
bool | empty ()

## Data Fields
OrderList * | list

## Detailed Description

Iterable ensemble of orders.

Definition at line 1072 of file vehicle_base.h.

## Constructor & Destructor Documentation

## ◆ IterateWrapper()

Vehicle::IterateWrapper::IterateWrapper | ( | OrderList * | list = `nullptr` | ) |
| inline

Definition at line 1074 of file vehicle_base.h.

## Member Function Documentation

## ◆ begin()

OrderIterator Vehicle::IterateWrapper::begin | ( |  | ) |
| inline

Definition at line 1075 of file vehicle_base.h.

## ◆ empty()

bool Vehicle::IterateWrapper::empty | ( |  | ) |
| inline

Definition at line 1077 of file vehicle_base.h.

## ◆ end()

OrderIterator Vehicle::IterateWrapper::end | ( |  | ) |
| inline

Definition at line 1076 of file vehicle_base.h.

## Field Documentation

## ◆ list

OrderList* Vehicle::IterateWrapper::list

Definition at line 1073 of file vehicle_base.h.

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

- src/vehicle_base.h