예제 #1
0
 def __init__(self, *args, **kwargs):
     InputNode.__init__(self, *args, **kwargs)
     self.output = InterfaceStream(self,
                                   'output',
                                   default='EOF',
                                   type=Interface.OUTPUT,
                                   doc="standard input content")
예제 #2
0
 def __init__(self, *args, **kwargs):
     InputNode.__init__(self, *args, **kwargs)
     self.folder = InterfaceValue(self,
                                  'folder',
                                  default='',
                                  type=Interface.PARAMETER,
                                  slot=False,
                                  doc="folder to scan")
     self.filelist = InterfaceList(self,
                                   'filelist',
                                   default='',
                                   type=Interface.OUTPUT,
                                   doc="list of file paths")
예제 #3
0
 def __init__(self, *args, **kwargs):
     InputNode.__init__(self, *args, **kwargs)
     self.filepath = InterfaceValue(self,
                                    'filepath',
                                    default='',
                                    type=Interface.PARAMETER,
                                    slot=False,
                                    doc="file to read")
     self.output = InterfaceStream(self,
                                   'output',
                                   default='EOF',
                                   type=Interface.OUTPUT,
                                   doc="file content")
예제 #4
0
    def __init__(self, *args, **kwargs):
        InputNode.__init__(self, *args, **kwargs)
        self.name = InterfaceValue(
            self,
            'name',
            default='',
            type=Interface.PARAMETER,
            slot=False,
            doc=_("Command line interface parameter name"))
        self.value = InterfaceValue(self,
                                    'value',
                                    default='',
                                    type=Interface.OUTPUT,
                                    doc=_("value retrieved"))
        self.default = InterfaceValue(
            self,
            'default',
            default='',
            type=Interface.PARAMETER,
            slot=False,
            doc=_("default value if not specified at runtime"))

        #: L{optparse.Values}
        self.options = None
예제 #5
0
파일: file.py 프로젝트: Zincr0/florun
 def __init__(self, *args, **kwargs):
     InputNode.__init__(self, *args, **kwargs)
     self.folder   = InterfaceValue(self, 'folder',   default='', type=Interface.PARAMETER, slot=False, doc="folder to scan")
     self.filelist = InterfaceList(self,  'filelist', default='', type=Interface.OUTPUT,    doc="list of file paths")
예제 #6
0
파일: file.py 프로젝트: Zincr0/florun
 def __init__(self, *args, **kwargs):
     InputNode.__init__(self, *args, **kwargs)
     self.filepath = InterfaceValue(self,  'filepath', default='',    type=Interface.PARAMETER, slot=False, doc="file to read")
     self.output   = InterfaceStream(self, 'output',   default='EOF', type=Interface.OUTPUT,    doc="file content")