3.2.9 Inheritance
In order to minimize redundancy, sections can be inherited from previously defined
sections of the same type. In this case all entries and subsections of the child section
are initialized with the values from the referenced section. This initialization can be
overridden in the new section body.
Inheritance is declared by giving a section reference after the section name in the
section declaration:
[ModeDef] LargeArea:1.5kV = LargeArea:3.5kV
{
... # the section body may be used to override some inherited values or sec-
tions
}
If a section inherits from another section, any default values are taken from the ref-
erenced section rather then from global defaults.
3.2.10 Sections and Layout
The following section names have special properties and can only exist once in the
HSA3500 configuration file. Typical inheritance functionality therefore does not ap-
ply to them.
1. [Info]
2. [SplineList]
3. [LogicalVoltageList]
4. [ModeList]
5. [SplineDef]
6. [LogicalVoltageDef]
7. [MacroDef]
8. [ModeDef]
3.2.10.1 Info section
This section contains general information.
An example for an [Info] section is:
[Info] HSA3500 # the section name is empty
{
HardwareType = 1
HSA3500 / HSA3500 plus Power Supply 31