Exemplo n.º 1
0
    def __init__(self):
        assert (self.name)
        import funcs

        self.Children = []
        for sc in itersubclasses(OcgFunction):
            if sc.Group == self.__class__:
                self.Children.append(sc)
Exemplo n.º 2
0
 def __init__(self):
     assert(self.name)
     import funcs
     
     self.Children = []
     for sc in itersubclasses(OcgFunction):
         if sc.Group == self.__class__:
             self.Children.append(sc)
Exemplo n.º 3
0
    def get_potentials():
        """Left in to support HTML query page. Does not support argumented functions."""
        import funcs

        potentials = []
        for Sc in itersubclasses(OcgFunction):
            if Sc != OcgArgFunction:
                sc = Sc()
                potentials.append((sc.name, sc.text))
        return (potentials)
Exemplo n.º 4
0
 def get_potentials():
     """Left in to support HTML query page. Does not support argumented functions."""
     import funcs
     
     potentials = []
     for Sc in itersubclasses(OcgFunction):
         if Sc != OcgArgFunction:
             sc = Sc()
             potentials.append((sc.name,sc.text))
     return(potentials)