OpenTTD Source: GenericWaypointTypeFilter< ROAD, TILE_TYPE > Struct Template Reference

OpenTTD Source 15.0-beta1

Public Types | Static Public Member Functions
GenericWaypointTypeFilter< ROAD, TILE_TYPE > Struct Template Reference

## Public Types
using | StationType = Waypoint

## Static Public Member Functions
static bool | IsValidID (StationID id)
static bool | IsValidBaseStation (const BaseStation *st)
static bool | IsAcceptableWaypointTile (TileIndex tile)
static constexpr bool | IsWaypoint ()

## Detailed Description

template<bool ROAD, TileType TILE_TYPE>
struct GenericWaypointTypeFilter< ROAD, TILE_TYPE >

Definition at line 55 of file station_gui.cpp.

## Member Typedef Documentation

## ◆ StationType

template<bool ROAD, TileType TILE_TYPE>

using GenericWaypointTypeFilter< ROAD, TILE_TYPE >::StationType = Waypoint

Definition at line 57 of file station_gui.cpp.

## Member Function Documentation

## ◆ IsAcceptableWaypointTile()

template<bool ROAD, TileType TILE_TYPE>

static bool GenericWaypointTypeFilter< ROAD, TILE_TYPE >::IsAcceptableWaypointTile | ( | TileIndex | tile | ) |
| inlinestatic

Definition at line 61 of file station_gui.cpp.

## ◆ IsValidBaseStation()

template<bool ROAD, TileType TILE_TYPE>

static bool GenericWaypointTypeFilter< ROAD, TILE_TYPE >::IsValidBaseStation | ( | const BaseStation * | st | ) |
| inlinestatic

Definition at line 60 of file station_gui.cpp.

## ◆ IsValidID()

template<bool ROAD, TileType TILE_TYPE>

static bool GenericWaypointTypeFilter< ROAD, TILE_TYPE >::IsValidID | ( | StationID | id | ) |
| inlinestatic

Definition at line 59 of file station_gui.cpp.

## ◆ IsWaypoint()

template<bool ROAD, TileType TILE_TYPE>

static constexpr bool GenericWaypointTypeFilter< ROAD, TILE_TYPE >::IsWaypoint | ( |  | ) |
| inlinestaticconstexpr

Definition at line 62 of file station_gui.cpp.

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

- src/station_gui.cpp