Using categories for inheritance

The properties of a category include group and item properties. Assign properties to a category that you want types beneath the category to inherit.

Any group created under a category inherits the property of the category. Any item created under a category inherits the category's item properties. A category created under a category inherits both the group and item properties. Each type created under a category inherits the other properties of the category, such as initiator and terminator.

As an example, if most groups in your LabInfo data are infix delimited with ~ and most items in your LabInfo data are unsigned integers, you can define these as the properties of the category LabInfo. Any types you create under LabInfo inherit its properties.

You can change the properties of the root type, which is a category. Categories can have components, so you can also use them for inheriting components.


Feedback