Salome HOME
Movement of examples to CVS EXAMPLES SAMPLES_SRC.
[modules/superv.git] / examples / GraphConvertCharCheck.py
diff --git a/examples/GraphConvertCharCheck.py b/examples/GraphConvertCharCheck.py
deleted file mode 100755 (executable)
index 7843b7c..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-
-# Generated python file of Graph GraphConvertCharCheck
-
-from SuperV import *
-# Graph creation 
-GraphConvertCharCheck = Graph( 'GraphConvertCharCheck' )
-GraphConvertCharCheck.SetName( 'GraphConvertCharCheck' )
-GraphConvertCharCheck.SetAuthor( 'JR' )
-GraphConvertCharCheck.SetComment( 'Check conversions of Char' )
-GraphConvertCharCheck.Coords( 0 , 0 )
-
-# Creation of Factory Nodes
-
-MiscTypes = GraphConvertCharCheck.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
-PyChar = []
-PyChar.append( 'def Char() :  ' )
-PyChar.append( '    aChar = 255  ' )
-PyChar.append( '    return aChar  ' )
-PyChar.append( ' ' )
-Char = GraphConvertCharCheck.INode( 'Char' , PyChar )
-Char.OutPort( 'OutChar' , 'char' )
-Char.SetName( 'Char' )
-Char.SetAuthor( 'JR' )
-Char.SetComment( 'InLine Node' )
-Char.Coords( 14 , 114 )
-
-# Creation of Links
-CharOutChar = Char.Port( 'OutChar' )
-MiscTypesInString = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InString' ) )
-
-MiscTypesInBool = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InBool' ) )
-
-MiscTypesInChar = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InChar' ) )
-
-MiscTypesInShort = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InShort' ) )
-
-MiscTypesInLong = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InLong' ) )
-
-MiscTypesInFloat = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InFloat' ) )
-
-MiscTypesInDouble = GraphConvertCharCheck.Link( CharOutChar , MiscTypes.Port( 'InDouble' ) )
-
-MiscTypesInObjRef = GraphConvertCharCheck.Link( CharOutChar , 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' )
-
-GraphConvertCharCheck.Run()
-GraphConvertCharCheck.DoneW()
-GraphConvertCharCheck.PrintPorts()