Class decorator to create a flag handler for a plugin. Adds the class variables FLAGDEFS and
ErrEnum. An instance variable flagHandler is added to the __init__ function to be created at
initialization. The arguments to this function are tuples which have the name of the failure
as the first element, and the documentation for the failure as the second element.
Usage:
@addFlagHandler(("name_of_failure", "Doc for failure), ("name_of_second_faiure", "Doc of"
" second failure"), .....)
Definition at line 4 of file flagDecorator.py.