Draft: Harmonize and document enums
Relates to #18
To be discussed:
- OSI defines all enums with
UNKNOWN = 0
andOTHER = 1
. We only do that on some enums. -
Fog
has to be clarified. It seems to me thatVisibility
would be a more fitting name. - Always explicitly define the first value as
0
and leave the following values unspecified? - Always use type
int
or smallest possible type?
The program was tested solely for our own use cases, which might differ from yours.
Martin Stump martin.stump@mercedes-benz.com on behalf of Mercedes-Benz Tech Innovation GmbH, Provider Information
Edited by Martin Stump