def __init__(self): assert (self.name) import funcs self.Children = [] for sc in itersubclasses(OcgFunction): if sc.Group == self.__class__: self.Children.append(sc)
def __init__(self): assert(self.name) import funcs self.Children = [] for sc in itersubclasses(OcgFunction): if sc.Group == self.__class__: self.Children.append(sc)
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)
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)