Forward iterator.
More...
#include <vehicle_func.h>
|
| void | Increment () |
| | Advance the internal state to the next potential vehicle.
|
| |
| void | SkipEmptyBuckets () |
| | Advance the internal state until we reach a non-empty bucket, or the end.
|
| |
| void | SkipFalseMatches () |
| | Advance the internal state until it reaches a vehicle within the search area.
|
| |
Forward iterator.
Definition at line 124 of file vehicle_func.h.
◆ difference_type
| using VehiclesNearTileXY::Iterator::difference_type = std::ptrdiff_t |
◆ iterator_category
| using VehiclesNearTileXY::Iterator::iterator_category = std::forward_iterator_tag |
◆ pointer
| using VehiclesNearTileXY::Iterator::pointer = void |
◆ reference
| using VehiclesNearTileXY::Iterator::reference = void |
◆ value_type
◆ Iterator()
| VehiclesNearTileXY::Iterator::Iterator |
( |
int32_t |
x, |
|
|
int32_t |
y, |
|
|
uint |
max_dist |
|
) |
| |
|
explicit |
◆ Increment()
| void VehiclesNearTileXY::Iterator::Increment |
( |
| ) |
|
|
private |
Advance the internal state to the next potential vehicle.
Definition at line 462 of file vehicle.cpp.
◆ operator*()
| Vehicle * VehiclesNearTileXY::Iterator::operator* |
( |
| ) |
const |
|
inline |
◆ operator++() [1/2]
| Iterator & VehiclesNearTileXY::Iterator::operator++ |
( |
| ) |
|
|
inline |
◆ operator++() [2/2]
| Iterator VehiclesNearTileXY::Iterator::operator++ |
( |
int |
| ) |
|
|
inline |
◆ operator==() [1/2]
| bool VehiclesNearTileXY::Iterator::operator== |
( |
const Iterator & |
rhs | ) |
const |
|
inline |
◆ operator==() [2/2]
| bool VehiclesNearTileXY::Iterator::operator== |
( |
const std::default_sentinel_t & |
| ) |
const |
|
inline |
◆ SkipEmptyBuckets()
| void VehiclesNearTileXY::Iterator::SkipEmptyBuckets |
( |
| ) |
|
|
private |
◆ SkipFalseMatches()
| void VehiclesNearTileXY::Iterator::SkipFalseMatches |
( |
| ) |
|
|
private |
Advance the internal state until it reaches a vehicle within the search area.
Definition at line 490 of file vehicle.cpp.
Referenced by Iterator().
◆ current_veh
| Vehicle* VehiclesNearTileXY::Iterator::current_veh |
|
private |
◆ hx
| uint VehiclesNearTileXY::Iterator::hx |
|
private |
◆ hxmax
| uint VehiclesNearTileXY::Iterator::hxmax |
|
private |
◆ hxmin
| uint VehiclesNearTileXY::Iterator::hxmin |
|
private |
◆ hy
| uint VehiclesNearTileXY::Iterator::hy |
|
private |
◆ hymax
| uint VehiclesNearTileXY::Iterator::hymax |
|
private |
◆ hymin
| uint VehiclesNearTileXY::Iterator::hymin |
|
private |
◆ pos_rect
| Rect VehiclesNearTileXY::Iterator::pos_rect |
|
private |
The documentation for this class was generated from the following files: