Salome HOME
51e2b6dbb0c09884a10296b4f3261076b8de2916
[samples/datafiles.git] / Yacs / Schemas / SchemaIOFile.xml
1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <!--
3   Copyright (C) 2006-2014  CEA/DEN, EDF R&D
4
5   This library is free software; you can redistribute it and/or
6   modify it under the terms of the GNU Lesser General Public
7   License as published by the Free Software Foundation; either
8   version 2.1 of the License, or (at your option) any later version.
9
10   This library is distributed in the hope that it will be useful,
11   but WITHOUT ANY WARRANTY; without even the implied warranty of
12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13   Lesser General Public License for more details.
14
15   You should have received a copy of the GNU Lesser General Public
16   License along with this library; if not, write to the Free Software
17   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
18
19   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20
21 -->
22 <proc name="proc">
23    <property name="DefaultStudyID" value="1"/>
24    <type name="bool" kind="bool"/>
25    <type name="double" kind="double"/>
26    <type name="string" kind="string"/>
27    <struct name="Engines/dataref">
28       <member name="ref" type="string"/>
29    </struct>
30    <type name="int" kind="int"/>
31    <sequence name="boolvec" content="bool"/>
32    <sequence name="dblevec" content="double"/>
33    <objref name="file" id="file"/>
34    <sequence name="intvec" content="int"/>
35    <objref name="pyobj" id="python:obj:1.0"/>
36    <sequence name="stringvec" content="string"/>
37    <container name="DefaultContainer">
38       <property name="container_name" value="FactoryServer"/>
39       <property name="name" value="localhost"/>
40    </container>
41    <inline name="PyScript0">
42       <script><code><![CDATA[b=2.5*a
43 ]]></code></script>
44       <inport name="a" type="double"/>
45       <outport name="b" type="double"/>
46    </inline>
47    <datanode name="PresetNode0">
48       <parameter name="a" type="double">
49          <value><double>-2.45</double></value>
50       </parameter>
51    </datanode>
52    <outnode name="OutNode0" ref="toto.xml">
53       <parameter name="a" type="double"/>
54    </outnode>
55    <control> <fromnode>PyScript0</fromnode> <tonode>OutNode0</tonode> </control>
56    <control> <fromnode>PresetNode0</fromnode> <tonode>PyScript0</tonode> </control>
57    <datalink control="false">
58       <fromnode>PyScript0</fromnode> <fromport>b</fromport>
59       <tonode>OutNode0</tonode> <toport>a</toport>
60    </datalink>
61    <datalink control="false">
62       <fromnode>PresetNode0</fromnode> <fromport>a</fromport>
63       <tonode>PyScript0</tonode> <toport>a</toport>
64    </datalink>
65    <parameter>
66       <tonode>PyScript0</tonode><toport>a</toport>
67       <value><double>0</double></value>
68    </parameter>
69    <presentation name="PresetNode0" x="1.75" y="33.25" width="158" height="63" expanded="1" expx="1.75" expy="33.25" expWidth="158" expHeight="63" shownState="0"/>
70    <presentation name="PyScript0" x="195.75" y="33.25" width="158" height="63" expanded="1" expx="195.75" expy="33.25" expWidth="158" expHeight="63" shownState="0"/>
71    <presentation name="OutNode0" x="389.75" y="33.25" width="158" height="63" expanded="1" expx="389.75" expy="33.25" expWidth="158" expHeight="63" shownState="0"/>
72    <presentation name="__ROOT__" x="0" y="0" width="551.75" height="100.25" expanded="1" expx="0" expy="0" expWidth="551.75" expHeight="100.25" shownState="0"/>
73 </proc>