Skip to main content

Module modes

Module modes 

Source
Expand description

Modes, like SUBURBAN, and the product classes of RMV. A product class is a bit; a search takes the sum of the classes it wants as products.

Constants§

MODES
The modes and their classes. BUS has two: regional and city buses.
OTHER
The mode of a product class no mode covers.
RAIL
A mode for all trains: HIGHSPEED_RAIL, LONG_DISTANCE, REGIONAL_RAIL and SUBURBAN.

Functions§

names
The modes a search takes.
of_class
The mode of a class.
of_mask
The modes of a sum of classes, like the products of a stop.
products
The products for modes, None for all. An unknown mode is an error.