Skip to content

DocData

Jip Claassens edited this page Aug 11, 2026 · 1 revision

MetaScript functions DocData

syntax

  • DocData()

definition

DocData() results in a container with four domain units that describe all operators registered in the running GeoDMS version:

  • ObjectTypes: attribute Name - the argument/result types
  • OperatorGroups: attribute Name - one entry per operator name
  • Operators: attribute nr_Group, attribute nr_ResType - one entry per registered signature
  • OperatorArgs: attribute nr_Operator, attribute nr_ArgType - one entry per argument

This is the same information as shown in the GUI under /MetaInfo/OperatorList. It can be used to make configurations version-aware: the operator test selects its tests by looking up operator names in OperatorGroups/Name.

example

container OperatorList := DocData()
{
    unit<uint32> OperatorGroups { attribute<string> Name; }
}
parameter<bool> has_geos_buffer := isDefined(rlookup('geos_buffer', lowercase(OperatorList/OperatorGroups/Name)));

see also

Clone this wiki locally