]> SALOME platform Git repositories - modules/superv.git/blobdiff - examples/GraphConvertFloatCheck.py
Salome HOME
This commit was generated by cvs2git to create branch 'Tag-First-
[modules/superv.git] / examples / GraphConvertFloatCheck.py
diff --git a/examples/GraphConvertFloatCheck.py b/examples/GraphConvertFloatCheck.py
deleted file mode 100755 (executable)
index 12fdb7e..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-
-# Generated python file of Graph GraphConvertFloatCheck
-
-from SuperV import *
-# Graph creation 
-GraphConvertFloatCheck = Graph( 'GraphConvertFloatCheck' )
-GraphConvertFloatCheck.SetName( 'GraphConvertFloatCheck' )
-GraphConvertFloatCheck.SetAuthor( 'JR' )
-GraphConvertFloatCheck.SetComment( 'Check conversions of Float' )
-GraphConvertFloatCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertFloatCheck.FNode( 'TypesCheck' , 'TypesCheck' , 'MiscTypes' )
-MiscTypes.SetName( 'MiscTypes' )
-MiscTypes.SetAuthor( '' )
-MiscTypes.SetContainer( 'localhost/FactoryServer' )
-MiscTypes.SetComment( 'MiscTypes from TypesCheck' )
-MiscTypes.Coords( 284 , 28 )
-
-# Creation of InLine Nodes
-PyFloat = []
-PyFloat.append( 'def Float() :   ' )
-PyFloat.append( '    aFloat = 3.1415926535 ' )
-PyFloat.append( '    print type(aFloat),"aFloat",aFloat ' )
-PyFloat.append( '    return aFloat   ' )
-PyFloat.append( ' ' )
-Float = GraphConvertFloatCheck.INode( 'Float' , PyFloat )
-Float.OutPort( 'OutFloat' , 'float' )
-Float.SetName( 'Float' )
-Float.SetAuthor( 'JR' )
-Float.SetComment( 'InLine Node' )
-Float.Coords( 14 , 114 )
-
-# Creation of Links
-FloatOutFloat = Float.Port( 'OutFloat' )
-MiscTypesInString = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertFloatCheck.Link( FloatOutFloat , MiscTypes.Port( 'InObjRef' ) )
-
-# 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' )
-
-GraphConvertFloatCheck.Run()
-GraphConvertFloatCheck.DoneW()
-GraphConvertFloatCheck.PrintPorts()