Example #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)
Example #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)
Example #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)
Example #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)