Fix dependencies
Getter are const
Add getters with pointer for huge data structures
Enum names are public.

Previously only the positive value were public (not the obstacle nor the unknown
value).
Replace pointers by const ref in getters (safer)

Thanks to Arnaud D. for reporting.
[weight] add missing references