Salome HOME
Imported using TkCVS
[samples/datafiles.git] / Superv / Python / GraphEmptyInLinesTypesCheck.py
diff --git a/Superv/Python/GraphEmptyInLinesTypesCheck.py b/Superv/Python/GraphEmptyInLinesTypesCheck.py
new file mode 100755 (executable)
index 0000000..69cdae4
--- /dev/null
@@ -0,0 +1,176 @@
+
+# Generated python file of Graph GraphEmptyInLinesConvertCheck
+
+from SuperV import *
+# Graph creation 
+GraphEmptyInLinesConvertCheck = Graph( 'GraphEmptyInLinesConvertCheck' )
+GraphEmptyInLinesConvertCheck.SetName( 'GraphEmptyInLinesConvertCheck' )
+GraphEmptyInLinesConvertCheck.SetAuthor( 'JR' )
+GraphEmptyInLinesConvertCheck.SetComment( '' )
+GraphEmptyInLinesConvertCheck.Coords( 0 , 0 )
+
+# Creation of Factory Nodes
+
+Addition = GraphEmptyInLinesConvertCheck.FNode( 'AddComponent' , 'AddComponent' , 'Addition' )
+Addition.SetName( 'Addition' )
+Addition.SetAuthor( '' )
+Addition.SetContainer( 'localhost/FactoryServer' )
+Addition.SetComment( 'Addition from AddComponent' )
+Addition.Coords( 232 , 514 )
+
+# Creation of InLine Nodes
+PyBoolCheck = []
+PyBoolCheck.append( ' ' )
+BoolCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyBoolCheck )
+BoolCheck.InPort( 'InBool' , 'boolean' )
+BoolCheck.OutPort( 'OutBool' , 'boolean' )
+BoolCheck.SetName( 'BoolCheck' )
+BoolCheck.SetAuthor( '' )
+BoolCheck.SetComment( 'Empty InLine Node' )
+BoolCheck.Coords( 234 , 92 )
+
+PyCharCheck = []
+PyCharCheck.append( ' ' )
+CharCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyCharCheck )
+CharCheck.InPort( 'InChar' , 'char' )
+CharCheck.OutPort( 'OutChar' , 'char' )
+CharCheck.SetName( 'CharCheck' )
+CharCheck.SetAuthor( '' )
+CharCheck.SetComment( 'Empty InLine Node' )
+CharCheck.Coords( 30 , 142 )
+
+PyShortCheck = []
+PyShortCheck.append( '  ' )
+ShortCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyShortCheck )
+ShortCheck.InPort( 'InShort' , 'short' )
+ShortCheck.OutPort( 'OutShort' , 'short' )
+ShortCheck.SetName( 'ShortCheck' )
+ShortCheck.SetAuthor( '' )
+ShortCheck.SetComment( 'Empty InLine Node' )
+ShortCheck.Coords( 234 , 230 )
+
+PyFloatCheck = []
+PyFloatCheck.append( ' ' )
+FloatCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyFloatCheck )
+FloatCheck.InPort( 'InFloat' , 'float' )
+FloatCheck.OutPort( 'OutFloat' , 'float' )
+FloatCheck.SetName( 'FloatCheck' )
+FloatCheck.SetAuthor( '' )
+FloatCheck.SetComment( 'Empty InLine Node' )
+FloatCheck.Coords( 230 , 375 )
+
+PyLongCheck = []
+PyLongCheck.append( ' ' )
+LongCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyLongCheck )
+LongCheck.InPort( 'InLong' , 'long' )
+LongCheck.OutPort( 'OutLong' , 'long' )
+LongCheck.SetName( 'LongCheck' )
+LongCheck.SetAuthor( '' )
+LongCheck.SetComment( 'Empty InLine Node' )
+LongCheck.Coords( 30 , 282 )
+
+PyStringCheck = []
+PyStringCheck.append( ' ' )
+StringCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyStringCheck )
+StringCheck.InPort( 'InString' , 'string' )
+StringCheck.OutPort( 'OutString' , 'string' )
+StringCheck.SetName( 'StringCheck' )
+StringCheck.SetAuthor( '' )
+StringCheck.SetComment( 'Empty InLine Node' )
+StringCheck.Coords( 30 , 6 )
+
+PyDoubleCheck = []
+PyDoubleCheck.append( '  ' )
+DoubleCheck = GraphEmptyInLinesConvertCheck.INode( '' , PyDoubleCheck )
+DoubleCheck.InPort( 'InDouble' , 'double' )
+DoubleCheck.OutPort( 'OutDouble' , 'double' )
+DoubleCheck.SetName( 'DoubleCheck' )
+DoubleCheck.SetAuthor( '' )
+DoubleCheck.SetComment( 'Empty InLine Node' )
+DoubleCheck.Coords( 29 , 428 )
+
+PyMiscTypes = []
+PyMiscTypes.append( ' ' )
+MiscTypes = GraphEmptyInLinesConvertCheck.INode( '' , PyMiscTypes )
+MiscTypes.InPort( 'InString' , 'string' )
+MiscTypes.InPort( 'InBool' , 'boolean' )
+MiscTypes.InPort( 'InChar' , 'char' )
+MiscTypes.InPort( 'InShort' , 'short' )
+MiscTypes.InPort( 'InLong' , 'long' )
+MiscTypes.InPort( 'InFloat' , 'float' )
+MiscTypes.InPort( 'InDouble' , 'double' )
+MiscTypes.InPort( 'InObjRef' , 'SuperVision::Adder' )
+MiscTypes.OutPort( 'OutString' , 'string' )
+MiscTypes.OutPort( 'OutBool' , 'boolean' )
+MiscTypes.OutPort( 'OutChar' , 'char' )
+MiscTypes.OutPort( 'OutShort' , 'short' )
+MiscTypes.OutPort( 'OutLong' , 'long' )
+MiscTypes.OutPort( 'OutFloat' , 'float' )
+MiscTypes.OutPort( 'OutDouble' , 'double' )
+MiscTypes.OutPort( 'OutObjRef' , 'SuperVisionTest::Addre' )
+MiscTypes.SetName( 'MiscTypes' )
+MiscTypes.SetAuthor( '' )
+MiscTypes.SetComment( 'Empty InLine Node' )
+MiscTypes.Coords( 477 , 231 )
+
+# Creation of Links
+BoolCheckOutBool = BoolCheck.Port( 'OutBool' )
+MiscTypesInBool = GraphEmptyInLinesConvertCheck.Link( BoolCheckOutBool , MiscTypes.Port( 'InBool' ) )
+MiscTypesInBool.AddCoord( 1 , 446 , 341 )
+MiscTypesInBool.AddCoord( 2 , 446 , 172 )
+
+CharCheckOutChar = CharCheck.Port( 'OutChar' )
+MiscTypesInChar = GraphEmptyInLinesConvertCheck.Link( CharCheckOutChar , MiscTypes.Port( 'InChar' ) )
+MiscTypesInChar.AddCoord( 1 , 431 , 368 )
+MiscTypesInChar.AddCoord( 2 , 431 , 223 )
+
+ShortCheckOutShort = ShortCheck.Port( 'OutShort' )
+MiscTypesInShort = GraphEmptyInLinesConvertCheck.Link( ShortCheckOutShort , MiscTypes.Port( 'InShort' ) )
+MiscTypesInShort.AddCoord( 1 , 415 , 397 )
+MiscTypesInShort.AddCoord( 2 , 414 , 310 )
+
+FloatCheckOutFloat = FloatCheck.Port( 'OutFloat' )
+MiscTypesInFloat = GraphEmptyInLinesConvertCheck.Link( FloatCheckOutFloat , MiscTypes.Port( 'InFloat' ) )
+
+AdditionAdder = Addition.Port( 'Adder' )
+MiscTypesInObjRef = GraphEmptyInLinesConvertCheck.Link( AdditionAdder , MiscTypes.Port( 'InObjRef' ) )
+MiscTypesInObjRef.AddCoord( 1 , 462 , 514 )
+MiscTypesInObjRef.AddCoord( 2 , 461 , 593 )
+
+LongCheckOutLong = LongCheck.Port( 'OutLong' )
+MiscTypesInLong = GraphEmptyInLinesConvertCheck.Link( LongCheckOutLong , MiscTypes.Port( 'InLong' ) )
+MiscTypesInLong.AddCoord( 1 , 406 , 426 )
+MiscTypesInLong.AddCoord( 2 , 405 , 363 )
+
+StringCheckOutString = StringCheck.Port( 'OutString' )
+MiscTypesInString = GraphEmptyInLinesConvertCheck.Link( StringCheckOutString , MiscTypes.Port( 'InString' ) )
+MiscTypesInString.AddCoord( 1 , 462 , 312 )
+MiscTypesInString.AddCoord( 2 , 461 , 87 )
+
+DoubleCheckOutDouble = DoubleCheck.Port( 'OutDouble' )
+MiscTypesInDouble = GraphEmptyInLinesConvertCheck.Link( DoubleCheckOutDouble , MiscTypes.Port( 'InDouble' ) )
+MiscTypesInDouble.AddCoord( 1 , 445 , 485 )
+MiscTypesInDouble.AddCoord( 2 , 445 , 508 )
+
+# Creation of Input datas
+BoolCheckInBool = BoolCheck.Input( 'InBool' , 1)
+CharCheckInChar = CharCheck.Input( 'InChar' , 255)
+ShortCheckInShort = ShortCheck.Input( 'InShort' , 16383)
+FloatCheckInFloat = FloatCheck.Input( 'InFloat' , 3.14159)
+LongCheckInLong = LongCheck.Input( 'InLong' , 1234567890)
+StringCheckInString = StringCheck.Input( 'InString' , 'aString')
+DoubleCheckInDouble = DoubleCheck.Input( 'InDouble' , 1.23457)
+
+# Creation of Output variables
+MiscTypesOutString = MiscTypes.Port( 'OutString' )
+MiscTypesOutBool = MiscTypes.Port( 'OutBool' )
+MiscTypesOutChar = MiscTypes.Port( 'OutChar' )
+MiscTypesOutShort = MiscTypes.Port( 'OutShort' )
+MiscTypesOutLong = MiscTypes.Port( 'OutLong' )
+MiscTypesOutFloat = MiscTypes.Port( 'OutFloat' )
+MiscTypesOutDouble = MiscTypes.Port( 'OutDouble' )
+MiscTypesOutObjRef = MiscTypes.Port( 'OutObjRef' )
+
+GraphEmptyInLinesConvertCheck.Run()
+GraphEmptyInLinesConvertCheck.DoneW()
+GraphEmptyInLinesConvertCheck.PrintPorts()