2 # Generated python file of Graph GraphConvertLongStringCheck
6 GraphConvertLongStringCheck = Graph( 'GraphConvertLongStringCheck' )
7 GraphConvertLongStringCheck.SetName( 'GraphConvertLongStringCheck' )
8 GraphConvertLongStringCheck.SetAuthor( 'JR' )
9 GraphConvertLongStringCheck.SetComment( 'Check conversions of String' )
10 GraphConvertLongStringCheck.Coords( 0 , 0 )
12 # Creation of Factory Nodes
14 MiscTypes = GraphConvertLongStringCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
15 MiscTypes.SetName( 'MiscTypes' )
16 MiscTypes.SetAuthor( '' )
17 MiscTypes.SetContainer( 'localhost/FactoryServer' )
18 MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
19 MiscTypes.Coords( 284 , 28 )
21 # Creation of InLine Nodes
23 PyLongString.append( 'def LongString() : ' )
24 PyLongString.append( ' string = "9223372036854775807" ' )
25 PyLongString.append( ' return string ' )
26 PyLongString.append( ' ' )
27 LongString = GraphConvertLongStringCheck.INode( 'LongString' , PyLongString )
28 LongString.OutPort( 'OutString' , 'string' )
29 LongString.SetName( 'LongString' )
30 LongString.SetAuthor( 'JR' )
31 LongString.SetComment( 'InLine Node' )
32 LongString.Coords( 14 , 114 )
35 LongStringOutString = LongString.Port( 'OutString' )
36 MiscTypesInString = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InString' ) )
38 MiscTypesInBool = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InBool' ) )
40 MiscTypesInChar = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InChar' ) )
42 MiscTypesInShort = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InShort' ) )
44 MiscTypesInLong = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InLong' ) )
46 MiscTypesInFloat = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InFloat' ) )
48 MiscTypesInDouble = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InDouble' ) )
50 MiscTypesInObjRef = GraphConvertLongStringCheck.Link( LongStringOutString , MiscTypes.Port( 'InObjRef' ) )
52 # Creation of Output variables
53 MiscTypesOutString = MiscTypes.Port( 'OutString' )
54 MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
55 MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
56 MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
57 MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
58 MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
59 MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
60 MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
62 GraphConvertLongStringCheck.Run()
63 GraphConvertLongStringCheck.DoneW()
64 GraphConvertLongStringCheck.PrintPorts()