1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#pragma once

#include <cstdint>

#include <better-enums/enum.h>

namespace kooling::datamodel {

BETTER_ENUM(transport, std::int32_t,<--- Array index out of bounds<--- Assuming that condition 'index>=_size()' is not redundant<--- Calling function '_size' returns 16<--- Redundant assignment of 'unknown' to itself.<--- Redundant assignment of 'car' to itself.<--- Redundant assignment of 'motorbike' to itself.<--- Redundant assignment of 'heavydutyvehicle' to itself.<--- Redundant assignment of 'bus' to itself.<--- Redundant assignment of 'trolleybus' to itself.<--- Redundant assignment of 'train' to itself.<--- Redundant assignment of 'boat' to itself.<--- Redundant assignment of 'bicycle' to itself.<--- Redundant assignment of 'plane' to itself.<--- Redundant assignment of 'walk' to itself.<--- Redundant assignment of 'scooter' to itself.<--- Redundant assignment of 'subway' to itself.<--- Redundant assignment of 'tram' to itself.<--- Redundant assignment of 'highspeedtrain' to itself.<--- Redundant assignment of 'lightsubway' to itself.<--- The function '_from_index' is never used.<--- The function '_from_index_unchecked' is never used.<--- The function '_from_string_nocase' is never used.<--- The function '_is_valid' is never used.<--- The function '_is_valid_nocase' is never used.<--- The function '_name' is never used.<--- The function '_names' is never used.<--- The function '_to_index' is never used.
    unknown          = 0,
    car              = 1,
    motorbike        = 2,
    heavydutyvehicle = 3,
    bus              = 4,
    trolleybus       = 5,
    train            = 6,
    boat             = 7,
    bicycle          = 8,
    plane            = 9,
    walk             = 11,
    scooter          = 12,
    subway           = 13,
    tram             = 14,
    highspeedtrain   = 15,
    lightsubway      = 16
)

} // namespace kooling::datamodel