Salome HOME
Increment version: 8.4.0
[samples/pyhello.git] / resources / schema.xml
1 <?xml version='1.0' encoding='iso-8859-1' ?>
2 <proc name="newSchema_1">
3    <property name="DefaultStudyID" value="1"/>
4    <type name="string" kind="string"/>
5    <struct name="Engines/dataref">
6       <member name="ref" type="string"/>
7    </struct>
8    <objref name="Study" id="IDL:SALOMEDS/Study:1.0"/>
9    <type name="bool" kind="bool"/>
10    <sequence name="boolvec" content="bool"/>
11    <type name="double" kind="double"/>
12    <sequence name="dblevec" content="double"/>
13    <objref name="file" id="file"/>
14    <type name="int" kind="int"/>
15    <sequence name="intvec" content="int"/>
16    <struct name="stringpair">
17       <member name="name" type="string"/>
18       <member name="value" type="string"/>
19    </struct>
20    <sequence name="propvec" content="stringpair"/>
21    <objref name="pyobj" id="python:obj:1.0"/>
22    <sequence name="seqboolvec" content="boolvec"/>
23    <sequence name="seqdblevec" content="dblevec"/>
24    <sequence name="seqintvec" content="intvec"/>
25    <sequence name="stringvec" content="string"/>
26    <sequence name="seqstringvec" content="stringvec"/>
27    <container name="DefaultContainer">
28       <property name="container_name" value="FactoryServer"/>
29       <property name="name" value="localhost"/>
30    </container>
31    <service name="makeBanner0">
32       <component>PYHELLO</component>
33       <load container="DefaultContainer"/>
34       <method>makeBanner</method>
35       <inport name="name" type="string"/>
36       <outport name="return" type="string"/>
37    </service>
38    <service name="createObject1">
39       <component>PYHELLO</component>
40       <load container="DefaultContainer"/>
41       <method>createObject</method>
42       <inport name="theStudy" type="Study"/>
43       <inport name="name" type="string"/>
44    </service>
45    <inline name="PyFunction4">
46       <function name="getStudy">
47          <code><![CDATA[def getStudy():
48   import salome
49   return salome.myStudy
50 ]]></code>
51       </function>
52       <outport name="study" type="Study"/>
53    </inline>
54    <control> <fromnode>createObject1</fromnode> <tonode>makeBanner0</tonode> </control>
55    <control> <fromnode>PyFunction4</fromnode> <tonode>createObject1</tonode> </control>
56    <datalink control="false">
57       <fromnode>PyFunction4</fromnode> <fromport>study</fromport>
58       <tonode>createObject1</tonode> <toport>theStudy</toport>
59    </datalink>
60    <parameter>
61       <tonode>createObject1</tonode><toport>name</toport>
62       <value><string>object</string></value>
63    </parameter>
64    <parameter>
65       <tonode>makeBanner0</tonode><toport>name</toport>
66       <value><string>John Smit</string></value>
67    </parameter>
68    <presentation name="createObject1" x="241.5" y="57" width="158" height="90" expanded="1" expx="241.5" expy="57" expWidth="158" expHeight="90" shownState="0"/>
69    <presentation name="makeBanner0" x="494" y="57" width="158" height="63" expanded="1" expx="494" expy="57" expWidth="158" expHeight="63" shownState="0"/>
70    <presentation name="PyFunction4" x="24" y="57" width="158" height="63" expanded="1" expx="24" expy="57" expWidth="158" expHeight="63" shownState="0"/>
71    <presentation name="__ROOT__" x="0" y="0" width="656" height="151" expanded="1" expx="0" expy="0" expWidth="656" expHeight="151" shownState="0"/>
72 </proc>