Functors: Add ACCEPT and POISON
- add a predicate
Acceptwhich returns either true or false, depending on the argument given at construction time. - unify the code used by
AcceptAll,AcceptNoneandAccept. - add a
Poisonadapter, which impersonates a provided functor (or predicate), but if invoked, throws a GaudiException with a message specified as argument.
Edited by Gerhard Raven