OpenTTD Source: CargoSpec::IterateWrapper Struct Reference

OpenTTD Source 15.0-beta1

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

## Public Member Functions
| IterateWrapper (size_t from=0)
Iterator | begin ()
Iterator | end ()
bool | empty ()

## Data Fields
size_t | from

## Detailed Description

Definition at line 182 of file cargotype.h.

## Constructor & Destructor Documentation

## ◆ IterateWrapper()

CargoSpec::IterateWrapper::IterateWrapper | ( | size_t | from = `0` | ) |
| inline

Definition at line 184 of file cargotype.h.

## Member Function Documentation

## ◆ begin()

Iterator CargoSpec::IterateWrapper::begin | ( |  | ) |
| inline

Definition at line 185 of file cargotype.h.

## ◆ empty()

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

Definition at line 187 of file cargotype.h.

## ◆ end()

Iterator CargoSpec::IterateWrapper::end | ( |  | ) |
| inline

Definition at line 186 of file cargotype.h.

## Field Documentation

## ◆ from

size_t CargoSpec::IterateWrapper::from

Definition at line 183 of file cargotype.h.

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

- src/cargotype.h