C++ Attributes: unhook

The unhook attribute is overloaded. Depending on which arguments are given, it does one of the following:

Syntax

[
    define_attribute = "unhook",
    argument_list = {
        "event",
        "source",
        "handler",
        "receiver"
    },
    default_value ("receiver") = "this",
    help_string = "Unhooks an event handler from an event",
    usage = eLocalUsage,
    group = eCompilerGroup,
    shipping = "true",
    overload = "true"
];
[
    define_attribute = "unhook",
    argument_list = {
        "event",
        "source",
        "receiver"
    },
    default_value ("receiver") = "this",
    help_string = "Unhooks all event handlers from an event for a given receiver",
    usage = eLocalUsage,
    group = eCompilerGroup,
    shipping = "true",
    overload = "true"
];
[
    define_attribute = "unhook",
    argument_list = {
        "source",
        "receiver"
    },
    default_value ("receiver") = "this",
    help_string = "Unhooks all event handlers from an event source for a given receiver",
    usage = eLocalUsage,
    group = eCompilerGroup,
    shipping = "true",
    overload = "true"
];