Struct AttributeNamesString

Struct Documentation

struct AttributeNamesString

Lists which attribute strings are mapped to which enum value.

Needs to be in a class because we want external linkage

Public Static Attributes

static constexpr const char Type[] = "type"
static constexpr const char Subtype[] = "subtype"
static constexpr const char OneWay[] = "one_way"
static constexpr const char ParticipantVehicle[] = "participant:vehicle"
static constexpr const char ParticipantPedestrian[] = "participant:pedestrian"
static constexpr const char SpeedLimit[] = "speed_limit"
static constexpr const char Location[] = "location"
static constexpr const char Dynamic[] = "dynamic"
static constexpr const char Color[] = "color"
static constexpr const char Ele[] = "ele"
static constexpr const char LaneChange[] = "lane_change"
static constexpr const char LaneChangeLeft[] = "lane_change:left"
static constexpr const char LaneChangeRight[] = "lane_change:right"
static constexpr const char Name[] = "name"
static constexpr const char Region[] = "region"
static constexpr const char SpeedLimitMandatory[] = "speed_limit_mandatory"
static constexpr const char Participant[] = "participant"
static constexpr const char Area[] = "area"
static constexpr const char Fallback[] = "fallback"
static constexpr const char Width[] = "width"
static constexpr const char Height[] = "height"
static constexpr const char Temporary[] = "temporary"
static constexpr const char SignType[] = "sign_type"
static constexpr AttributeNamesItem Map[] = {{Type, AttributeName::Type}, {Subtype, AttributeName::Subtype}, {OneWay, AttributeName::OneWay}, {ParticipantVehicle, AttributeName::ParticipantVehicle}, {ParticipantPedestrian, AttributeName::ParticipantPedestrian}, {SpeedLimit, AttributeName::SpeedLimit}, {Location, AttributeName::Location}, {Dynamic, AttributeName::Dynamic}}