// RoadTypes, with ability to get road type, tram type, or look up roadtype given subtype enum RoadTypes { ROADTYPES_ROAD_BASE = 0, ROADTYPES_ROAD_LENGTH = 4, ///< Number of bit ROADTYPES_INVALID_ROAD = 0x7, ///< Road-type denoting 'no road'. ROADTYPES_TRAM_BASE = 4, ///< Start bit of the tram types. ROADTYPES_TRAM_LENGTH = 4, ///< Number of bits for the tram types. ROADTYPES_INVALID_TRAM = 0x7, ///< Tram-type denoting 'no tram'. };