DocData - ObjectVision/GeoDMS GitHub Wiki
MetaScript functions DocData
- DocData()
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.
container OperatorList := DocData()
{
unit<uint32> OperatorGroups { attribute<string> Name; }
}
parameter<bool> has_geos_buffer := isDefined(rlookup('geos_buffer', lowercase(OperatorList/OperatorGroups/Name)));