Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     OutputNode.__init__(self, *args, **kwargs)
     self.outstream = sys.stdout
     self.input = InterfaceStream(self,
                                  'input',
                                  default='EOF',
                                  type=Interface.INPUT,
                                  doc="standard output")
Exemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     OutputNode.__init__(self, *args, **kwargs)
     self.filepath = InterfaceValue(self,
                                    'filepath',
                                    default='',
                                    type=Interface.PARAMETER,
                                    slot=False,
                                    doc="file to write")
     self.input = InterfaceStream(self,
                                  'input',
                                  default='EOF',
                                  type=Interface.INPUT,
                                  doc="input to write")
Exemplo n.º 3
0
 def __init__(self, *args, **kwargs):
     OutputNode.__init__(self, *args, **kwargs)
     self.filepath = InterfaceValue(self, 'filepath', default='',  type=Interface.PARAMETER, slot=False, doc="file to write")
     self.input    = InterfaceStream(self, 'input', default='EOF', type=Interface.INPUT, doc="input to write")