This is the old version of our wiki. We advice to visit: https://www.geodms.nl

Nrofrows

From ObjectVision

Jump to: navigation, search

Unit functions nrofrows

Contents

concept

  • NrofRows is a property used to configure the number of elements of a domain unit
  • nrofrows() is a function resulting in the number of elements of a domain unit

The next topics on this page describe the nrofrows() function.

syntax

  • nrofrows(domainunit)
  • #domainunit

definition

nrofrows(domainunit) or #domainunit results in a uint32 parameter with the number of entries/elements (cardinality) of the argument domainunit.

applies to

since version

5.15

example

parameter<uint32> rowsRegions := nrofrows(Region); result = 5
parameter<uint32> rowsRegions := #RegionDomain;    result = 5
RegionDomain
0
1
2
3
4

domain Region, nr of rows = 5

see also

Personal tools