continuous
attribute from its type. for example, here the aircraftID
type is not continous, and all datas, fields, and union members which use this type which not be continuous by default:<types> <simpleType name="aircraftID" baseType="int" continuous="false"/> </types>However it is possible to override the value of this attribute. For example:
<services> <publish name="aircraft" > <data name="mySpecialID" type="aircraftID" continuous="true" /> <data name="aircraftLongitude" type="float" /> <data name="aircraftAltitude" type="float" /> </publish> </services>
<services> <publish name="aircraft" > <data name="aircraftID" type="int" continuous="false" /> <data name="aircraftLongitude" type="float" /> <data name="aircraftAltitude" type="float" /> </publish> </services>
<types> <simpleType name="int" baseType="int" /> <simpleType name="float" baseType="float" /> <structType name="aircraft"> <field name="aircraftID" type="int" continuous="false" /> <field name="aircraftLongitude" type="float" /> <field name="aircraftLatitude" type="float" /> </structType> </types>
<types> <simpleType name="int" baseType="int" /> <simpleType name="float" baseType="float" /> <structType name="position"> <field name="aircraftLongitude" type="float" /> <field name="aircraftLatitude" type="float" /> </structType> </types> <unionType name="myUnion" variant="int" > <member name="aircraftID" type="int" continuous="false" /> <member name="aircraftPosition" type="position" /> </structType> </types>
Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence