Reorganize 'dir' attribute for some elements
Some of the enumeration values should be disabled for some elements.
They are really confusing. Hopefully, nobody uses them until now!
dir
attribute provides the following enumeration values, according to its generic type tDirValidity
:
none
up
down
both
unknown
There are some elements, which offer all above values within this attribute, e.g.
- mileage direction in
mileageChange
- direction of the main track in
track/@mainDir
Type tOrientedElement
uses the same attribute as extension base for various elements, e.g.
- direction of
crossSection
for ocp references - direction of
speedChange
for the speed aspect - direction of
gradientChange
for slope value - direction of
radiusChange
for radius value - direction of
levelCrossing
for what?
Please, review all possible occurences of dir
attribute with regard to meaningful enumeration values. Provide intermediate type with less values, if needed.