File: default.xml

package info (click to toggle)
sofa-framework 1.0~beta4-9
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 88,688 kB
  • ctags: 27,205
  • sloc: cpp: 151,126; ansic: 2,387; xml: 581; sh: 417; makefile: 67
file content (30 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : example.xml
    Created on : 02 March 2004, 15:44
    Author     : promayon
    Description:
        Small example of custom properties definition.        
-->

<physicalProperties xmlns='http://www-timc.imag.fr/customPhysicalProperties'
  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  xsi:schemaLocation='http://www-timc.imag.fr/customPhysicalProperties ../PhysicalPropertiesCustomizer/customPhysicalProperties.xsd'>

  <atomProperties>
    <property name="myCustomProperty1" type="int" defaultValue="10"/>    
    <property name="myCustomProperty2" type="std::string" defaultValue="no name"/>     
  </atomProperties>
  
  <cellProperties inherits="false"> <!-- structural component properties can not be used as well on Cells -->
    <property name="myCustomProperty1" type="float"/>    
    <property name="myCustomProperty2" type="int"/>    
  </cellProperties>
  
  <structuralComponentProperties>
    <property name="myCustomProperty1" type="int"/>    
    <property name="myCustomProperty2" type="std::string" defaultValue="~"/>
  </structuralComponentProperties>
  
</physicalProperties>