Optional$emulateadd a new event type to the address space
OptionalisAbstract?: booleanOptionalsubtypeOf?: string | UAEventTypehow many aliases this namespace declares
how many data types this namespace defines
the data types defined in this namespace
every node in this namespace, whatever its node class
how many object types this namespace defines
the object types defined in this namespace
how many reference types this namespace defines
the reference types defined in this namespace
how many variable types this namespace defines
the variable types defined in this namespace
Enumerating the nodes a namespace holds.
The iterators walk the namespace's own index, so they yield only nodes belonging to this namespace, in insertion order, and they do not follow references into any other. A count is a plain size lookup rather than a walk, so preferring it to
[...iterator()].lengthis worth doing on a large model.None of these iterators tolerate the namespace being modified while one is open, for the same reason a Map iterator does not: adding or removing a node invalidates it. Collect into an array first when the loop body adds nodes.