CanBeDomainUnit - ObjectVision/GeoDMS GitHub Wiki

Value type CanBeDomainUnit

definition

CanBeDomainUnit is the group of value types that can be used for a domain unit.

The applies to sections of many [operators and functions]] refer to this group, for [arguments that need to be a domain unit or a relation towards a domain unit.

value types

The group consists of the value types marked in the Can Be Domain Unit column of the value type table:

Furthermore the void value type is in this group; it is used as the (implicit) domain unit of a parameter, with exactly one element.

why

A domain unit defines the set of entries of its attributes, so its value type must be countable, with a defined range of values that maps one-to-one to the row (or row and column) numbers of the domain.

Units with a float32, float64, fpoint, dpoint or string value type are not countable and can therefore not be used as domain unit.

see also