logo-header

 
 

Domain units as values units

Domain units can also be used as values units. Use the domain unit as values unit for the index numbers of the domain unit.

Be aware, by default index numbers are zero based.

Index numbers for a domain unit can be generated with the id function:

unit<uint32> country
{
attribute<country> id := id(country);
}

OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904