Tree item

From ObjectVision

Jump to: navigation, search

Contents

Definition

All elements that occur in a configuration are called tree items. Three types of tree items are distinguished:

Name

Each tree item is configured with a keyword (unit, attribute, parameter, container or template) and at least a name.

Full Name

Based on the hierarchical structure, a full name can be derived for each tree item. This full name includes the name of the item and the name of all it's parents.

This full name is comparable to a full file path in a directory structure.

Properties

Properties can be configured as relevant characteristics for an item. To configure a property use:

- A colon (:) after the name of the item, before the first property.

- Commas (,) as separators between properties

Example

attribute<meter> length (road) := arc_length(geometry), descr = "length of the road";

In the example an attribute tree item is configured with as:

  1. values unit: meter
  2. name: length
  3. domain unit: road
  4. two properties, an expression: arc_length(geometry) and a description: length of the road.
Personal tools