Home
Categories
Dictionary
Glossary
Download
Project Details
Changes Log
What Links Here
FAQ
License

tacticalEnv structure file



This article presents the format of the tacticalEnv structure file.

The custom properties types declaration defines how to decode the XML declaration for a property. The supported values are:
  • string
  • int
  • float
  • boolean

Grammar

The structure.xsd schema specifies the format of the structure file.

Structure

Each property element has the following attributes:
  • name: the property name
  • type: the property type, which can have the following values: string, int, float, boolean
By default if a property is not present in this declaration, it will be considered as a string.

Example

For example, in the following declaration:
      <propertyTypes>
         <propertyType name="video" type="int" />
      </propertyTypes>
We declare that the video property is an int.

Custom properties declaration

The properties for an element is an array of any:
      <arrayType name="propertyArray" type="property" />
      <structType name="property">
         <field name="name" type="string" />
         <field name="value" type="any" />
      </structType>
The type of a property will be the type defined for the property name in the custom properties types declaration. If this property has no defined type, it will be a string.

Example

      <configuration>
         <propertyTypes>
            <propertyType name="video" type="int" />
         </propertyTypes>   
         <targets>
            <target name="SA_12_Bill_Board_47" type="bill board">
               <point latitude="44.913" longitude="4.965"/>
               <property name="video" value="47" />
            </target>
         </targets>
      </configuration>

See also


Categories: builtin-applis

Copyright 2017-2020 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence