Salome HOME
*** empty log message ***
[modules/superv.git] / examples / PAL9133_Input.py
1
2 # Generated python file of Graph PAL9133_Input
3
4 from SuperV import *
5
6 # Graph creation of PAL9133_Input
7 def DefPAL9133_Input() :
8     PAL9133_Input = Graph( 'PAL9133_Input' )
9     PAL9133_Input.SetName( 'PAL9133_Input' )
10     PAL9133_Input.SetAuthor( 'JR' )
11     PAL9133_Input.SetComment( 'Void strings as Input is now allowed' )
12     PAL9133_Input.Coords( 0 , 0 )
13     
14     # Creation of Factory Nodes
15     
16     # Creation of InLine Nodes
17     PyVoidString = []
18     PyVoidString.append( 'def VoidString(aString) : ' )
19     PyVoidString.append( '    print "VoidString("+aString+")" ' )
20     PyVoidString.append( '    return aString ' )
21     VoidString = PAL9133_Input.INode( 'VoidString' , PyVoidString )
22     VoidString.SetName( 'VoidString' )
23     VoidString.SetAuthor( '' )
24     VoidString.SetComment( 'Compute Node' )
25     VoidString.Coords( 311 , 190 )
26     IVoidStringaString = VoidString.InPort( 'aString' , 'string' )
27     IVoidStringGate = VoidString.GetInPort( 'Gate' )
28     OVoidStringaString = VoidString.OutPort( 'aString' , 'string' )
29     OVoidStringGate = VoidString.GetOutPort( 'Gate' )
30     
31     # Input datas
32     IVoidStringaString.Input( '' )
33     
34     # Output Ports of the graph
35     #OVoidStringaString = VoidString.GetOutPort( 'aString' )
36     return PAL9133_Input
37
38
39 PAL9133_Input = DefPAL9133_Input()