<extends name="<type to extend name>" />
under the type declaration. After this declaration you can declare any number of new fields or members you want (or none at all).<types> <simpleType name="int" baseType="int" /> <simpleType name="float" baseType="float" /> <structType name="abstractPosition" isAbstract="true"> <field name="latitude" type="float" /> <field name="lontitude" type="float" /> </structType> <structType name="Position2Element" > <extends name="abstractPosition" /> <field name="elementID" type="int" /> </structType> </types>
<types> <simpleType name="int" baseType="int" /> <simpleType name="float" baseType="float" /> <structType name="Position2Element" > <extends name="abstractPosition" /> <field name="elementID" type="int" /> </structType> <structType name="abstractPosition" isAbstract="true"> <field name="latitude" type="float" /> <field name="lontitude" type="float" /> </structType> </types>
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence