2 # Generated python file of Graph GraphConvertStringStringCheck
6 GraphConvertStringStringCheck = Graph( 'GraphConvertStringStringCheck' )
7 GraphConvertStringStringCheck.SetName( 'GraphConvertStringStringCheck' )
8 GraphConvertStringStringCheck.SetAuthor( 'JR' )
9 GraphConvertStringStringCheck.SetComment( 'Check conversions of String' )
10 GraphConvertStringStringCheck.Coords( 0 , 0 )
12 # Creation of Factory Nodes
14 MiscTypes = GraphConvertStringStringCheck.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 PyStringString.append( 'def StringString() : ' )
24 PyStringString.append( ' string = "The sentence that you are reading cannot be demonstrated" ' )
25 PyStringString.append( ' return string ' )
26 PyStringString.append( '' )
27 StringString = GraphConvertStringStringCheck.INode( 'StringString' , PyStringString )
28 StringString.OutPort( 'OutString' , 'string' )
29 StringString.SetName( 'StringString' )
30 StringString.SetAuthor( 'JR' )
31 StringString.SetComment( 'InLine Node' )
32 StringString.Coords( 14 , 114 )
35 StringStringOutString = StringString.Port( 'OutString' )
36 MiscTypesInString = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InString' ) )
38 MiscTypesInBool = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InBool' ) )
40 MiscTypesInChar = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InChar' ) )
42 MiscTypesInShort = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InShort' ) )
44 MiscTypesInLong = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InLong' ) )
46 MiscTypesInFloat = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InFloat' ) )
48 MiscTypesInDouble = GraphConvertStringStringCheck.Link( StringStringOutString , MiscTypes.Port( 'InDouble' ) )
50 MiscTypesInObjRef = GraphConvertStringStringCheck.Link( StringStringOutString , 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 GraphConvertStringStringCheck.Run()
63 GraphConvertStringStringCheck.DoneW()
64 GraphConvertStringStringCheck.PrintPorts()