Classes | |
class | PublicInterface |
Public Interface. More... | |
Functions | |
def | publicRuleExists |
Functions. |
def rocon_gateway.public_interface.publicRuleExists | ( | public_rule, | |
public_rules | |||
) |
Functions.
Checks that the public rule doesn't already exist in the list of public rules (which can represent the public interface or the rules themselves). We only need to compare the name/node as they uniquely identify the name/regex @param public_rule : the rule to search for @type Rule @param public_rules : list of Rule (public, watchlist or blacklist) @type list : list of Rule objects @return True if the public rule exists, False otherwise @rtype bool
Definition at line 25 of file public_interface.py.