]> SALOME platform Git repositories - samples/datafiles.git/blob - Yacs/Schemas/SchemaInputOutputGeom.xml
Salome HOME
Merge from V6_main_20120808 08Aug12
[samples/datafiles.git] / Yacs / Schemas / SchemaInputOutputGeom.xml
1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <!--
3   Copyright (C) 2006-2011  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.
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    <objref name="GEOM_Object" id="IDL:GEOM/GEOM_Object:1.0"/>
31    <type name="int" kind="int"/>
32    <sequence name="boolvec" content="bool"/>
33    <sequence name="dblevec" content="double"/>
34    <objref name="file" id="file"/>
35    <sequence name="intvec" content="int"/>
36    <objref name="pyobj" id="python:obj:1.0"/>
37    <sequence name="stringvec" content="string"/>
38    <container name="DefaultContainer">
39       <property name="container_name" value="FactoryServer"/>
40       <property name="cpu_clock" value="0"/>
41       <property name="hostname" value="localhost"/>
42       <property name="isMPI" value="false"/>
43       <property name="mem_mb" value="0"/>
44       <property name="nb_component_nodes" value="0"/>
45       <property name="nb_node" value="0"/>
46       <property name="nb_proc_per_node" value="0"/>
47       <property name="parallelLib" value=""/>
48       <property name="workingdir" value=""/>
49    </container>
50    <datanode name="StudyInNode0" kind="study">
51       <parameter name="a" type="GEOM_Object" ref="/Geometry/Box_1"/>
52       <parameter name="b" type="GEOM_Object" ref="/Geometry/Sphere_1"/>
53       <property name="StudyID" value="1"/>
54    </datanode>
55    <inline name="PyScript0">
56       <script><code><![CDATA[x=a
57 y=b
58 ]]></code></script>
59       <inport name="a" type="GEOM_Object"/>
60       <inport name="b" type="GEOM_Object"/>
61       <outport name="x" type="GEOM_Object"/>
62       <outport name="y" type="GEOM_Object"/>
63    </inline>
64    <service name="SalomeNode0">
65       <component>GEOM_Superv</component>
66       <load container="DefaultContainer"/>
67       <method>MakeFuse</method>
68       <inport name="theShape1" type="GEOM_Object"/>
69       <inport name="theShape2" type="GEOM_Object"/>
70       <outport name="return" type="GEOM_Object"/>
71    </service>
72    <outnode name="StudyOutNode0" kind="study">
73       <parameter name="a" type="GEOM_Object" ref="/Geometry/YacsFuse"/>
74       <property name="StudyID" value="1"/>
75    </outnode>
76    <service name="SalomeNode1">
77       <node>SalomeNode0</node>
78       <method>SetStudyID</method>
79       <inport name="theStudyID" type="int"/>
80    </service>
81    <control> <fromnode>StudyInNode0</fromnode> <tonode>PyScript0</tonode> </control>
82    <control> <fromnode>StudyInNode0</fromnode> <tonode>SalomeNode1</tonode> </control>
83    <control> <fromnode>PyScript0</fromnode> <tonode>SalomeNode0</tonode> </control>
84    <control> <fromnode>SalomeNode0</fromnode> <tonode>StudyOutNode0</tonode> </control>
85    <control> <fromnode>SalomeNode1</fromnode> <tonode>SalomeNode0</tonode> </control>
86    <datalink control="false">
87       <fromnode>StudyInNode0</fromnode> <fromport>a</fromport>
88       <tonode>PyScript0</tonode> <toport>a</toport>
89    </datalink>
90    <datalink control="false">
91       <fromnode>StudyInNode0</fromnode> <fromport>b</fromport>
92       <tonode>PyScript0</tonode> <toport>b</toport>
93    </datalink>
94    <datalink control="false">
95       <fromnode>PyScript0</fromnode> <fromport>x</fromport>
96       <tonode>SalomeNode0</tonode> <toport>theShape1</toport>
97    </datalink>
98    <datalink control="false">
99       <fromnode>PyScript0</fromnode> <fromport>y</fromport>
100       <tonode>SalomeNode0</tonode> <toport>theShape2</toport>
101    </datalink>
102    <datalink control="false">
103       <fromnode>SalomeNode0</fromnode> <fromport>return</fromport>
104       <tonode>StudyOutNode0</tonode> <toport>a</toport>
105    </datalink>
106    <parameter>
107       <tonode>SalomeNode1</tonode><toport>theStudyID</toport>
108       <value><int>1</int></value>
109    </parameter>
110    <presentation name="StudyInNode0" x="1.75" y="113.75" width="158" height="90" expanded="1" expx="1.75" expy="113.75" expWidth="158" expHeight="90" shownState="0"/>
111    <presentation name="PyScript0" x="195.75" y="113.75" width="158" height="90" expanded="1" expx="195.75" expy="113.75" expWidth="158" expHeight="90" shownState="0"/>
112    <presentation name="SalomeNode0" x="389.75" y="113.75" width="158" height="90" expanded="1" expx="389.75" expy="113.75" expWidth="158" expHeight="90" shownState="0"/>
113    <presentation name="StudyOutNode0" x="583.75" y="127.25" width="158" height="63" expanded="1" expx="583.75" expy="127.25" expWidth="158" expHeight="63" shownState="0"/>
114    <presentation name="SalomeNode1" x="195.75" y="33.25" width="158" height="63" expanded="1" expx="195.75" expy="33.25" expWidth="158" expHeight="63" shownState="0"/>
115    <presentation name="__ROOT__" x="0" y="0" width="745.75" height="207.75" expanded="1" expx="0" expy="0" expWidth="745.75" expHeight="207.75" shownState="0"/>
116 </proc>